From 6bbb48acca67583842075a7c43bf234a8c9d969d Mon Sep 17 00:00:00 2001 From: Stephen Smoogen Date: Tue, 24 Jan 2017 20:00:30 +0000 Subject: [PATCH] You know the very powerful and the very stupid have one thing in common. They don't alter their views to fit the facts. They alter the facts to fit the views. Which can be uncomfortable if you happen to be one of the facts that needs altering. --- playbooks/vhost_reboot.yml | 2 +- roles/nagios/client/templates/check_varnish_proc.cfg.j2 | 2 +- roles/nagios_client/templates/check_varnish_proc.cfg.j2 | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/playbooks/vhost_reboot.yml b/playbooks/vhost_reboot.yml index afed0540ac..40ec644d4d 100644 --- a/playbooks/vhost_reboot.yml +++ b/playbooks/vhost_reboot.yml @@ -35,7 +35,7 @@ # Call out to another playbook. Disable any proxies that may live here - include: update-proxy-dns.yml status=disable proxies=myvms_new:&proxies - when: nodns is not defined or not nodns + when: nodns is not defined or not "true" in nodns - name: halt instances hosts: myvms_new diff --git a/roles/nagios/client/templates/check_varnish_proc.cfg.j2 b/roles/nagios/client/templates/check_varnish_proc.cfg.j2 index 3935c16e5a..69f6760554 100644 --- a/roles/nagios/client/templates/check_varnish_proc.cfg.j2 +++ b/roles/nagios/client/templates/check_varnish_proc.cfg.j2 @@ -1 +1 @@ -command[check_varnish_proc]=/usr/lib64/nagios/plugins/check_procs -c 1:2 -C 'varnishd' -u varnish +command[check_varnish_proc]=/usr/lib64/nagios/plugins/check_procs -c 1:2 -C 'varnishd' -u nobody diff --git a/roles/nagios_client/templates/check_varnish_proc.cfg.j2 b/roles/nagios_client/templates/check_varnish_proc.cfg.j2 index 3935c16e5a..69f6760554 100644 --- a/roles/nagios_client/templates/check_varnish_proc.cfg.j2 +++ b/roles/nagios_client/templates/check_varnish_proc.cfg.j2 @@ -1 +1 @@ -command[check_varnish_proc]=/usr/lib64/nagios/plugins/check_procs -c 1:2 -C 'varnishd' -u varnish +command[check_varnish_proc]=/usr/lib64/nagios/plugins/check_procs -c 1:2 -C 'varnishd' -u nobody