Create directories via become.
This commit is contained in:
parent
d970ae0683
commit
8a3adb0ce2
@ -11,14 +11,15 @@
|
|||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
state: directory
|
state: directory
|
||||||
path: "{{ item }}"
|
path: "{{ item }}"
|
||||||
mode: 0755
|
owner: "{{ ansible_user_id }}"
|
||||||
|
mode: 0750
|
||||||
with_items:
|
with_items:
|
||||||
- "{{ plausible_volume_config }}"
|
- "{{ plausible_volume_config }}"
|
||||||
- "{{ plausible_volume_events }}"
|
- "{{ plausible_volume_events }}"
|
||||||
- "~/plausible"
|
- "~/plausible"
|
||||||
tags:
|
tags:
|
||||||
- configuration
|
- configuration
|
||||||
become: false
|
become: true
|
||||||
|
|
||||||
- name: Set up the database directory.
|
- name: Set up the database directory.
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
|
Loading…
Reference in New Issue
Block a user