diff options
author | Stephen Smoogen <smooge@redhat.com> | 2017-04-11 21:18:04 +0000 |
---|---|---|
committer | Stephen Smoogen <smooge@redhat.com> | 2017-04-11 21:18:04 +0000 |
commit | cf89a2516d8c434b475e9e2bda81de9908c9687c (patch) | |
tree | 31cf7c55c1c45ac536689fc1a0f60e01c47e4101 | |
parent | aa4cd3465bc6ac62f562cc1f1490bd0d6b899d12 (diff) | |
download | ansible-cf89a2516d8c434b475e9e2bda81de9908c9687c.tar.gz ansible-cf89a2516d8c434b475e9e2bda81de9908c9687c.tar.xz ansible-cf89a2516d8c434b475e9e2bda81de9908c9687c.zip |
and we will try nagios templates
-rw-r--r-- | playbooks/groups/nagios-new.yml | 6 | ||||
-rw-r--r-- | roles/base/templates/syncHttpLogs.sh.j2 | 4 |
2 files changed, 3 insertions, 7 deletions
diff --git a/playbooks/groups/nagios-new.yml b/playbooks/groups/nagios-new.yml index 81b170cb5..d8b8d3120 100644 --- a/playbooks/groups/nagios-new.yml +++ b/playbooks/groups/nagios-new.yml @@ -1,8 +1,8 @@ # This is a basic playbook -- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=nagios-new-stg:nagios-new" +- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=nagios-new" - name: make the box be real - hosts: nagios-stg + hosts: nagios-new user: root gather_facts: True @@ -39,7 +39,7 @@ - include: "{{ handlers }}/restart_services.yml" - name: deploy nagios service config - hosts: nagios-new-stg:nagios-new + hosts: nagios-new user: gather_facts: True diff --git a/roles/base/templates/syncHttpLogs.sh.j2 b/roles/base/templates/syncHttpLogs.sh.j2 index 2e3e94c88..3a56addb4 100644 --- a/roles/base/templates/syncHttpLogs.sh.j2 +++ b/roles/base/templates/syncHttpLogs.sh.j2 @@ -170,10 +170,6 @@ syncHttpLogs {{host}} syncHttpLogs {{host}} {% endfor %} -{% for host in groups['nagios-new-stg'] %} -syncHttpLogs {{host}} -{% endfor %} - ## sync up download {% for host in groups['download-phx2'] %} syncHttpLogs {{host}} |