web_logs: Create data directories

This commit is contained in:
Timo Makinen 2025-01-24 16:18:44 +00:00
parent a5dafee6cb
commit 1a71f92138

View file

@ -23,4 +23,19 @@
rclone_hostgroup: proxy
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