--- - name: Ensure PHP packages are installed. package: name: "{{ php_packages }}" state: "{{ php_packages_state }}" enablerepo: "{{ php_enablerepo | default(omit) }}" notify: restart webserver