diff options
author | Jason DeTiberus <jdetiber@redhat.com> | 2015-11-30 11:42:46 -0500 |
---|---|---|
committer | Jason DeTiberus <jdetiber@redhat.com> | 2015-11-30 11:42:46 -0500 |
commit | e81bf0e72dc12736b3ea69151123697b69b5240d (patch) | |
tree | 910eec27b41951a2692327c02454bfa599d779ca /playbooks/adhoc/noc | |
parent | f790d7d49055b3eeb382fa4e90884f73162849cc (diff) | |
download | openshift-e81bf0e72dc12736b3ea69151123697b69b5240d.tar.gz openshift-e81bf0e72dc12736b3ea69151123697b69b5240d.tar.bz2 openshift-e81bf0e72dc12736b3ea69151123697b69b5240d.tar.xz openshift-e81bf0e72dc12736b3ea69151123697b69b5240d.zip |
Enforce connection: local and become: no on all localhost plays
Diffstat (limited to 'playbooks/adhoc/noc')
-rw-r--r-- | playbooks/adhoc/noc/create_host.yml | 4 | ||||
-rw-r--r-- | playbooks/adhoc/noc/create_maintenance.yml | 2 | ||||
-rw-r--r-- | playbooks/adhoc/noc/get_zabbix_problems.yml | 2 |
3 files changed, 8 insertions, 0 deletions
diff --git a/playbooks/adhoc/noc/create_host.yml b/playbooks/adhoc/noc/create_host.yml index d250e6e69..2d2cae2b5 100644 --- a/playbooks/adhoc/noc/create_host.yml +++ b/playbooks/adhoc/noc/create_host.yml @@ -1,6 +1,8 @@ --- - name: 'Create a host object in zabbix' hosts: localhost + connection: local + become: no gather_facts: no roles: - os_zabbix @@ -23,6 +25,8 @@ #ansible-playbook -e 'oo_desc=kwoodson test' -e 'oo_name=kwoodson test name' -e 'oo_start=1435715357' -e 'oo_stop=1435718985' -e 'oo_hostids=11549' create_maintenance.yml - name: 'Create a host object in zabbix' hosts: localhost + connection: local + become: no gather_facts: no roles: - os_zabbix diff --git a/playbooks/adhoc/noc/create_maintenance.yml b/playbooks/adhoc/noc/create_maintenance.yml index c0ec57ce1..8ad5fa0e2 100644 --- a/playbooks/adhoc/noc/create_maintenance.yml +++ b/playbooks/adhoc/noc/create_maintenance.yml @@ -2,6 +2,8 @@ #ansible-playbook -e 'oo_desc=kwoodson test' -e 'oo_name=kwoodson test name' -e 'oo_start=1435715357' -e 'oo_stop=1435718985' -e 'oo_hostids=11549' create_maintenance.yml - name: 'Create a maintenace object in zabbix' hosts: localhost + connection: local + become: no gather_facts: no roles: - os_zabbix diff --git a/playbooks/adhoc/noc/get_zabbix_problems.yml b/playbooks/adhoc/noc/get_zabbix_problems.yml index 4b94fa228..79cae24ab 100644 --- a/playbooks/adhoc/noc/get_zabbix_problems.yml +++ b/playbooks/adhoc/noc/get_zabbix_problems.yml @@ -1,6 +1,8 @@ --- - name: 'Get current hosts who have triggers that are alerting by trigger description' hosts: localhost + connection: local + become: no gather_facts: no roles: - os_zabbix |