mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-27 07:01:22 -07:00
create required directories
This commit is contained in:
parent
ffde324038
commit
2b5c9b12fc
1 changed files with 9 additions and 0 deletions
|
@ -31,6 +31,15 @@
|
||||||
- daemon.py
|
- daemon.py
|
||||||
- httpd_echo.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
|
- name: restart monit
|
||||||
become: yes
|
become: yes
|
||||||
service:
|
service:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue