and we will try nagios templates
This commit is contained in:
parent
aa4cd3465b
commit
cf89a2516d
2 changed files with 3 additions and 7 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue