1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

35 tasks/*.yml writing to iiab_state.yml

This commit is contained in:
root 2020-01-12 17:06:24 -05:00
parent 85bd6ec55b
commit bd915fcdae
30 changed files with 90 additions and 113 deletions

View file

@ -57,3 +57,9 @@
value: '"Monit is a background service monitor which can correct problems, send email, restart services."'
- option: enabled
value: "{{ monit_enabled }}"
- name: "Add 'monit_installed: True' to {{ iiab_state_file }}" # /etc/iiab/iiab_state.yml
lineinfile:
dest: "{{ iiab_state_file }}"
regexp: '^monit_installed'
line: 'monit_installed: True'