mirror of
https://gitea.0xace.cc/ansible-galaxy/postgresql.git
synced 2024-11-28 17:56:40 +00:00
14 lines
409 B
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
|