diff --git a/tasks/cloud_setup_basic.yml b/tasks/cloud_setup_basic.yml index b34fdb283c..5eddbc395a 100644 --- a/tasks/cloud_setup_basic.yml +++ b/tasks/cloud_setup_basic.yml @@ -11,10 +11,11 @@ - packages - name: Install desired extra packages (dnf) - dnf: state=present pkg={{ item }} - with_items: - - ntpdate - - libselinux-python + dnf: + state: present + pkg: + - ntpdate + - libselinux-python when: ansible_distribution_major_version|int > 7 and ansible_distribution == 'RedHat' and ansible_cmdline.ostree is not defined tags: - packages