Add rpm-ostree cleanup task (#5986)
This commit is contained in:
parent
6852f821a5
commit
50204d9551
1 changed files with 5 additions and 0 deletions
|
@ -8,6 +8,11 @@
|
|||
tags:
|
||||
- facts
|
||||
|
||||
- name: Clean up possible pending packages on fedora coreos
|
||||
raw: "export http_proxy={{ http_proxy | default('') }};rpm-ostree cleanup -p }}"
|
||||
become: true
|
||||
when: need_bootstrap.rc != 0
|
||||
|
||||
- name: Install required packages on fedora coreos
|
||||
raw: "export http_proxy={{ http_proxy | default('') }};rpm-ostree install {{ fedora_coreos_packages|join(' ') }}"
|
||||
become: true
|
||||
|
|
Loading…
Reference in a new issue