forked from saratov/infra
update packages in case of tasks is defined
This commit is contained in:
parent
177c0f444c
commit
529e09583b
@ -33,9 +33,15 @@
|
||||
shell: apt-get update
|
||||
|
||||
- name: include additional apt repos from tasks
|
||||
template:
|
||||
src: "apt.list.tasks.j2"
|
||||
dest: "/etc/apt/sources.list.d/tasks.list"
|
||||
block:
|
||||
- name: include additional apt repos from tasks
|
||||
template:
|
||||
src: "apt.list.tasks.j2"
|
||||
dest: "/etc/apt/sources.list.d/tasks.list"
|
||||
- name: update with tasks repos
|
||||
shell: |
|
||||
apt-get update
|
||||
apt-get dist-upgrade
|
||||
when: stack.apt_sources_from_tasks is defined
|
||||
|
||||
- name: allow apt downgrade packages
|
||||
|
Loading…
Reference in New Issue
Block a user