forked from saratov/infra
Added system downgrade via eepm
This commit is contained in:
parent
e9a57af91d
commit
b4084ffdb4
@ -28,6 +28,11 @@
|
|||||||
path: /etc/apt/apt.conf.d/tmp.cache.conf
|
path: /etc/apt/apt.conf.d/tmp.cache.conf
|
||||||
state: absent
|
state: absent
|
||||||
|
|
||||||
|
- name: install eepm package
|
||||||
|
apt_rpm:
|
||||||
|
pkg: eepm
|
||||||
|
state: installed
|
||||||
|
|
||||||
- name: purge apt.sources
|
- name: purge apt.sources
|
||||||
shell: find /etc/apt/sources.list.d/ -name '*.list' -delete
|
shell: find /etc/apt/sources.list.d/ -name '*.list' -delete
|
||||||
changed_when: false
|
changed_when: false
|
||||||
@ -61,6 +66,9 @@
|
|||||||
- rpm
|
- rpm
|
||||||
state: installed
|
state: installed
|
||||||
|
|
||||||
|
- name: downgrade to archive date
|
||||||
|
shell: epm downgrade -y
|
||||||
|
|
||||||
- name: dist-upgrade
|
- name: dist-upgrade
|
||||||
shell: apt-get -y dist-upgrade
|
shell: apt-get -y dist-upgrade
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user