Switch this back to copy for now
This commit is contained in:
parent
0cfbc53db9
commit
69670dabd3
2 changed files with 4 additions and 4 deletions
|
@ -77,10 +77,10 @@
|
||||||
ignore_errors: true
|
ignore_errors: true
|
||||||
|
|
||||||
- name: reboot the virthost
|
- name: reboot the virthost
|
||||||
command: /sbin/shutdown -r now
|
command: /sbin/shutdown -r 1
|
||||||
|
|
||||||
- name: wait for virthost to come back - up to 15 minutes
|
- name: wait for virthost to come back - up to 15 minutes
|
||||||
local_action: wait_for host={{ target }} port=22 delay=120 timeout=900
|
local_action: wait_for host={{ target }} port=22 delay=120 timeout=900 search_regex=OpenSSH
|
||||||
|
|
||||||
- name: wait for libvirtd to come back on the virthost
|
- name: wait for libvirtd to come back on the virthost
|
||||||
wait_for: path=/var/run/libvirtd.pid state=present
|
wait_for: path=/var/run/libvirtd.pid state=present
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
- mod_auth_openid
|
- mod_auth_openid
|
||||||
|
|
||||||
- name: Copy /etc/nagios config
|
- name: Copy /etc/nagios config
|
||||||
synchronize: archive=yes src={{nagios_srcdir}}/ dest=/etc/nagios owner=nagios group=nagios
|
copy: src={{nagios_srcdir}}/ dest=/etc/nagios owner=nagios group=nagios
|
||||||
tags:
|
tags:
|
||||||
- nagios-config
|
- nagios-config
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@
|
||||||
file: dest=/usr/lib64/nagios/plugins/eventhandlers/ state=directory
|
file: dest=/usr/lib64/nagios/plugins/eventhandlers/ state=directory
|
||||||
|
|
||||||
- name: Copy plugins
|
- name: Copy plugins
|
||||||
synchronize: archive=yes src=plugins/ dest=/usr/lib64/nagios/plugins/ mode=0755 owner=root group=root
|
copy: src=plugins/ dest=/usr/lib64/nagios/plugins/ mode=0755 owner=root group=root
|
||||||
|
|
||||||
# TODO: rhel7
|
# TODO: rhel7
|
||||||
#- name: Copy xmpp plugin config
|
#- name: Copy xmpp plugin config
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue