web_logs: Create data directories
This commit is contained in:
parent
a5dafee6cb
commit
1a71f92138
1 changed files with 15 additions and 0 deletions
|
@ -23,4 +23,19 @@
|
||||||
rclone_hostgroup: proxy
|
rclone_hostgroup: proxy
|
||||||
rclone_service: logsync
|
rclone_service: logsync
|
||||||
|
|
||||||
|
- name: Create data directory
|
||||||
|
ansible.builtin.file:
|
||||||
|
path: /export/web-log
|
||||||
|
state: directory
|
||||||
|
mode: "0750"
|
||||||
|
owner: root
|
||||||
|
group: "{{ ansible_wheel }}"
|
||||||
|
|
||||||
|
- name: Link data directory
|
||||||
|
ansible.builtin.file:
|
||||||
|
path: /srv/web-log
|
||||||
|
src: /export/web-log
|
||||||
|
state: link
|
||||||
|
owner: root
|
||||||
|
group: "{{ ansible_wheel }}"
|
||||||
|
follow: false
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue