From 34fb541bb5410553f7791226107b7e5d3614f446 Mon Sep 17 00:00:00 2001 From: Tim Gerla Date: Tue, 16 Apr 2013 19:41:43 -0700 Subject: [PATCH] minor stylistic fixups --- lamp_haproxy/roles/base-apache/tasks/main.yml | 2 +- lamp_haproxy/roles/web/tasks/main.yml | 2 +- lamp_haproxy/rolling_update.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lamp_haproxy/roles/base-apache/tasks/main.yml b/lamp_haproxy/roles/base-apache/tasks/main.yml index 6baed06..de7c5ab 100644 --- a/lamp_haproxy/roles/base-apache/tasks/main.yml +++ b/lamp_haproxy/roles/base-apache/tasks/main.yml @@ -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 diff --git a/lamp_haproxy/roles/web/tasks/main.yml b/lamp_haproxy/roles/web/tasks/main.yml index 93b7648..06409c9 100644 --- a/lamp_haproxy/roles/web/tasks/main.yml +++ b/lamp_haproxy/roles/web/tasks/main.yml @@ -2,7 +2,7 @@ # httpd is handled by the base-apache role upstream - name: Install php and git - action: yum name=$item state=installed + yum: name=$item state=installed with_items: - php - php-mysql diff --git a/lamp_haproxy/rolling_update.yml b/lamp_haproxy/rolling_update.yml index 5ed2e11..d6f2b49 100644 --- a/lamp_haproxy/rolling_update.yml +++ b/lamp_haproxy/rolling_update.yml @@ -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}