postgresql/tasks/Debian/data_dir.yaml

14 lines
409 B
YAML

- name: Create data directory
file:
path: "{{ postgresql_data_dir }}"
owner: "{{ postgresql_user }}"
group: "{{ postgresql_group }}"
state: directory
- name: Create configuration directory
file:
path: "{{ postgresql_config_dir }}/{{ postgresql_major_version }}/{{ postgresql_cluster_name }}"
owner: "{{ postgresql_user }}"
group: "{{ postgresql_group }}"
state: directory