Commit 45b987ed authored by Oyvind.Gjesdal's avatar Oyvind.Gjesdal
Browse files

try if create dir task changes less if mode is not defined

parent a8c64c97
Pipeline #28418 failed with stage
in 1 minute and 12 seconds
......@@ -30,7 +30,7 @@
size: "100%FREE"
shrink: "no"
with_items: "{{ volumes_add }}"
- name: "Creating new filesystems on new volumes"
filesystem:
fstype: "{{ item.fs_type }}"
......@@ -42,7 +42,6 @@
file:
path: "{{ item.mount_point }}"
state: "directory"
mode: 0755
with_items: "{{ volumes_add }}"
- name: "Mounting new filesystems"
......@@ -53,7 +52,7 @@
state: "mounted"
opts: "{{ item.opts | default('defaults') }}"
with_items: "{{ volumes_add }}"
creates: "item.
- name: "check if new file system has content"
find:
paths: "{{ item.mount_point }}"
......
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