Browse Source

Add rpm-ostree cleanup task (#5986)

pull/6249/head
Danilo Riecken P. de Morais 4 years ago
committed by GitHub
parent
commit
50204d9551
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions
  1. 5
      roles/bootstrap-os/tasks/bootstrap-fedora-coreos.yml

5
roles/bootstrap-os/tasks/bootstrap-fedora-coreos.yml

@ -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…
Cancel
Save