1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-14 20:22:08 +00:00

tweaks for understandability

This commit is contained in:
A Holt 2017-10-27 20:56:48 -04:00 committed by GitHub
parent 40a0a4063a
commit e2a8b09014
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,10 +1,10 @@
- name: Install monit package
- name: Install Monit package
package: name=monit
state=present
tags:
- download
- name: Install chkconfig package -- not in debian 9
- name: Install chkconfig package -- not in Debian 8
package: name=chkconfig
state=present
when: is_debian and ansible_distribution_major_version == "8"
@ -34,14 +34,14 @@
delay: 1
#TODO: create systemd script
- name: Enable monit service
- name: Enable 'monit' service
command: chkconfig monit on
when: is_debian and ansible_local.local_facts.os_ver == "debian-8"
#- name: Restart monit service
# command: service monit restart
- name: Add monit to service list
- name: Add 'monit' to service list
ini_file: dest='{{ service_filelist }}'
section=monit
option='{{ item.option }}'
@ -50,6 +50,6 @@
- option: name
value: monit
- option: description
value: '"Monit is a background service monitor which can correct problems, send email, restart services"'
value: '"Monit is a background service monitor which can correct problems, send email, restart services."'
- option: enabled
value: "{{ monit_enabled }}"