16 lines
543 B
YAML
16 lines
543 B
YAML
|
- name: Create volume data directory for user {{ service_user_name }}
|
||
|
file:
|
||
|
path: "/var/lib/{{ ansible_hostname }}/data/{{ service_user_name }}"
|
||
|
state: directory
|
||
|
owner: "{{ service_user_name }}"
|
||
|
group: "{{ service_user_name }}"
|
||
|
mode: 0755
|
||
|
|
||
|
- name: Create etc-letsencrypt directory for user {{ service_user_name }}
|
||
|
file:
|
||
|
path: "/var/lib/{{ ansible_hostname }}/data/{{ service_user_name }}/etc-letsencrypt"
|
||
|
state: directory
|
||
|
owner: "{{ service_user_name }}"
|
||
|
group: "{{ service_user_name }}"
|
||
|
mode: 0755
|