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

24 lines
779 B
YAML
Raw Normal View History

2022-10-24 00:45:52 +02:00
- 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
2022-10-26 21:43:08 +02:00
- name: Create wal directory for user {{ service_user_name }}
file:
path: "/var/lib/{{ ansible_hostname }}/data/{{ service_user_name }}/wal"
state: directory
owner: "{{ service_user_name }}"
group: "{{ service_user_name }}"
mode: 0755
2022-10-24 00:45:52 +02:00
- name: Create data directory for user {{ service_user_name }}
file:
2022-10-26 21:43:08 +02:00
path: "/var/lib/{{ ansible_hostname }}/data/{{ service_user_name }}/data"
2022-10-24 00:45:52 +02:00
state: directory
owner: "{{ service_user_name }}"
group: "{{ service_user_name }}"
mode: 0755