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
|
group: root
|
||||||
mode: 0600
|
mode: 0600
|
||||||
|
|
||||||
- name: Install config file /etc/monit.d/watchdog from template (NEVER RUNS, WHY?)
|
# - name: Install config file /etc/monit.d/watchdog from template (NEVER RUNS, WHY?)
|
||||||
template:
|
# template:
|
||||||
src: watchdog
|
# src: watchdog
|
||||||
dest: /etc/monit.d/watchdog
|
# dest: /etc/monit.d/watchdog
|
||||||
owner: root
|
# owner: root
|
||||||
group: root
|
# group: root
|
||||||
force: yes
|
# force: yes
|
||||||
mode: 0755
|
# mode: 0755
|
||||||
register: monit_config
|
# register: monit_config
|
||||||
when: False # IS THIS A BUG ?
|
# when: False # IS THIS A BUG ?
|
||||||
until: monit_config | success
|
# until: monit_config | success
|
||||||
retries: 5
|
# retries: 5
|
||||||
delay: 1
|
# delay: 1
|
||||||
|
|
||||||
#TODO: create systemd script
|
#TODO: create systemd script
|
||||||
- name: Enable 'monit' service (chkconfig monit on)
|
- name: Enable 'monit' service (chkconfig monit on)
|
Loading…
Add table
Add a link
Reference in a new issue