ansible-edda/playbooks/tasks/services/b-user/service-user/01-user.d/data/lrproxy.yml

24 lines
837 B
YAML
Raw Normal View History

- 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
2022-11-02 20:03:12 +01:00
2022-11-02 20:24:38 +01:00
- name: Create etc-letsencrypt mount directory for user {{ service_user_name }}
2022-11-02 20:03:12 +01:00
file:
path: "/var/lib/{{ ansible_hostname }}/data/{{ service_user_name }}/etc-letsencrypt/_data"
state: directory
owner: "{{ service_user_name }}"
group: "{{ service_user_name }}"
mode: 0755