diff --git a/tasks/packages.yml b/tasks/packages.yml index ac97f43..7ce307a 100644 --- a/tasks/packages.yml +++ b/tasks/packages.yml @@ -4,14 +4,12 @@ package: name: "{{ item }}" state: absent - loop: - - "{{ yum_packages_uninstall | default([]) }}" + loop: "{{ yum_packages_uninstall | default([]) }}" - name: Install common packages package: name: "{{ item }}" state: present - loop: - - "{{ yum_packages_install | default([]) }} + {{ yum_packages_extra_install | default([]) }}" + loop: "{{ yum_packages_install | default([]) }} + {{ yum_packages_extra_install | default([]) }}" become: True become_user: root