1
0
Fork 0
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:
A Holt 2019-07-08 07:22:23 -04:00 committed by GitHub
parent 531c75a05c
commit 3ea1b681e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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