Lets get some synchronize for nagios and tftp

This commit is contained in:
Kevin Fenzi 2015-02-02 02:31:45 +00:00
parent a97d843d41
commit 3ddaaf0142
2 changed files with 2 additions and 7 deletions

View file

@ -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:

View file

@ -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/