fix permissions for base directory on lvm
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Robert Kaussow 2019-06-22 17:00:30 +02:00
parent 8d147ff130
commit ec1574236a
1 changed files with 8 additions and 0 deletions

View File

@ -1,5 +1,13 @@
---
- 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 }}'
lvg:
vg: "{{ postgres_lvm_vg }}"