Commit 374023ad authored by ale's avatar ale

Attempt 2 at not setting volume permissions

parent e0f6c2df
Pipeline #11030 passed with stage
in 2 minutes and 56 seconds
......@@ -9,9 +9,9 @@
- name: "Create mount point for volume {{ lv_name }}"
file:
path: "{{ volume.path }}"
owner: "{{ volume.owner | default('root') }}"
group: "{{ volume.group | default('root') }}"
mode: "{{ volume.mode | default('0755') }}"
owner: "{{ volume.owner | default('') }}"
group: "{{ volume.group | default('') }}"
mode: "{{ volume.mode | default('0700') }}"
state: directory
- name: "Create the LV {{ lv_name }}"
......@@ -44,6 +44,6 @@
path: "{{ volume.path }}"
owner: "{{ volume.owner | default('') }}"
group: "{{ volume.group | default('') }}"
mode: "{{ volume.mode | default('0755') }}"
mode: "{{ volume.mode | default('0700') }}"
state: directory
when: lv_mkfs.changed
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment