@ -2,7 +2,7 @@
# This playbook installs httpd
- name: Install http and php etc
action: yum name=$item state=installed
yum: name=$item state=installed
with_items:
- httpd
- libsemanage-python
# httpd is handled by the base-apache role upstream
- name: Install php and git
- php
- php-mysql
@ -9,7 +9,7 @@
serial: 1
tasks:
- name: disable nagios alerts for this host's webserver service
- name: disable nagios alerts for this host webserver service
nagios: action=disable_alerts host=$ansible_hostname services=webserver
delegate_to: $item
with_items: ${groups.monitoring}