Lets get some synchronize for nagios and tftp
This commit is contained in:
parent
a97d843d41
commit
3ddaaf0142
2 changed files with 2 additions and 7 deletions
|
@ -38,17 +38,12 @@
|
|||
- nagios_server
|
||||
|
||||
- name: Copy /etc/nagios config
|
||||
copy: src={{nagios_srcdir}}/ dest=/etc/nagios owner=nagios group=nagios
|
||||
synchronize: src={{nagios_srcdir}}/ dest=/etc/nagios/
|
||||
tags:
|
||||
- nagios-config
|
||||
- nagios_server
|
||||
notify: restart nagios
|
||||
|
||||
- name: Copy checkcommands.cfg
|
||||
template: src={{nagios_srcdir}}/checkcommands.cfg dest=/etc/nagios/checkcommands.cfg owner=nagios group=nagios
|
||||
tags:
|
||||
- nagios_server
|
||||
|
||||
- name: Copy httpd config
|
||||
template: src=nagios-httpd.conf dest=/etc/httpd/conf.d/nagios.conf
|
||||
tags:
|
||||
|
|
|
@ -31,4 +31,4 @@
|
|||
- tftp_server
|
||||
|
||||
- name: fill up the tftpboot directory
|
||||
copy: src="{{ bigfiles }}/tftpboot/" dest=/var/lib/tftpboot/
|
||||
synchronize: src="{{ bigfiles }}/tftpboot/" dest=/var/lib/tftpboot/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue