mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 13:20:23 -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
|
||||
- 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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue