Add rpm-ostree cleanup task (#5986)

This commit is contained in:
Danilo Riecken P. de Morais 2020-06-09 11:49:17 +02:00 committed by GitHub
parent 6852f821a5
commit 50204d9551
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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