these dependencies aren't needed anymore on recent releases of Fedora.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
run_once: true
when: delegate_facts_host | bool
- - name: install required packages for fedora > 23
- raw: sudo dnf -y install python2-dnf libselinux-python ntp
- register: result
- when:
- - ansible_distribution == 'Fedora'
- - ansible_distribution_major_version|int >= 23
- until: result is succeeded
-
- name: check if it is atomic host
stat:
path: /run/ostree-booted