create required directories

This commit is contained in:
Simon Kelly 2020-10-19 11:43:47 +02:00
commit 2b5c9b12fc

View file

@ -31,6 +31,15 @@
- daemon.py
- httpd_echo.py
- name: make monit dir
become: yes
file:
path: "{{ item }}"
state: directory
loop:
- /var/lib/monit
- /var/run/monit
- name: restart monit
become: yes
service: