mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Update and rename main.yml to install.yml
This commit is contained in:
parent
531c75a05c
commit
3ea1b681e2
1 changed files with 13 additions and 13 deletions
|
@ -22,19 +22,19 @@
|
|||
group: root
|
||||
mode: 0600
|
||||
|
||||
- name: Install config file /etc/monit.d/watchdog from template (NEVER RUNS, WHY?)
|
||||
template:
|
||||
src: watchdog
|
||||
dest: /etc/monit.d/watchdog
|
||||
owner: root
|
||||
group: root
|
||||
force: yes
|
||||
mode: 0755
|
||||
register: monit_config
|
||||
when: False # IS THIS A BUG ?
|
||||
until: monit_config | success
|
||||
retries: 5
|
||||
delay: 1
|
||||
# - name: Install config file /etc/monit.d/watchdog from template (NEVER RUNS, WHY?)
|
||||
# template:
|
||||
# src: watchdog
|
||||
# dest: /etc/monit.d/watchdog
|
||||
# owner: root
|
||||
# group: root
|
||||
# force: yes
|
||||
# mode: 0755
|
||||
# register: monit_config
|
||||
# when: False # IS THIS A BUG ?
|
||||
# until: monit_config | success
|
||||
# retries: 5
|
||||
# delay: 1
|
||||
|
||||
#TODO: create systemd script
|
||||
- name: Enable 'monit' service (chkconfig monit on)
|
Loading…
Add table
Reference in a new issue