--- - name: Ensure Apache is installed. yum: name: "{{ item }}" state: installed enablerepo: "{{ apache_enablerepo }}" with_items: apache_packages