fix permissions for base directory on lvm
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
8d147ff130
commit
ec1574236a
|
@ -1,5 +1,13 @@
|
||||||
---
|
---
|
||||||
- block:
|
- block:
|
||||||
|
- name: Setup base folder and set permissions
|
||||||
|
file:
|
||||||
|
path: "{{ postgres_base_dir }}"
|
||||||
|
state: directory
|
||||||
|
owner: "{{ postgres_user }}"
|
||||||
|
group: "{{ postgres_group }}"
|
||||||
|
mode: 0700
|
||||||
|
|
||||||
- name: Create volume group '{{ postgres_lvm_vg }}'
|
- name: Create volume group '{{ postgres_lvm_vg }}'
|
||||||
lvg:
|
lvg:
|
||||||
vg: "{{ postgres_lvm_vg }}"
|
vg: "{{ postgres_lvm_vg }}"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user