diff options
Diffstat (limited to 'roles')
-rw-r--r-- | roles/ands_storage/tasks/ipecompute2.yml | 2 | ||||
-rw-r--r-- | roles/ands_storage/tasks/ipecompute4.yml | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/roles/ands_storage/tasks/ipecompute2.yml b/roles/ands_storage/tasks/ipecompute2.yml index 9b2cef8..db3cb75 100644 --- a/roles/ands_storage/tasks/ipecompute2.yml +++ b/roles/ands_storage/tasks/ipecompute2.yml @@ -14,4 +14,4 @@ filesystem: dev="/dev/sda1" fstype="xfs" - name: arrays | Mounting Array(s) - mount: name="/mnt/fast" src="/dev/sda1" fstype="xfs" state="mounted" + mount: name="/mnt/fast" src="/dev/sda1" fstype="xfs" state="mounted" opts="defaults,nofail,nodiratime,noatime" dump=0 passno=0 diff --git a/roles/ands_storage/tasks/ipecompute4.yml b/roles/ands_storage/tasks/ipecompute4.yml index c226519..57f97eb 100644 --- a/roles/ands_storage/tasks/ipecompute4.yml +++ b/roles/ands_storage/tasks/ipecompute4.yml @@ -31,7 +31,7 @@ - name: arrays | Creating Array(s) # shell: "yes | mdadm --create /dev/md10 --level=0 --raid-devices={{ compute4_ssds | count }} {{ compute4_ssds | map('regex_replace', '(.*)', '/dev/\\1') | join ('1 ') }}1" - shell: "yes | mdadm --create /dev/md10 --level=0 --raid-devices={{ ssds.stdout_lines | count }} {{ ssds.stdout_lines | join ('1 ') }}1" + shell: "yes | mdadm --create /dev/md10 --level=0 --raid-devices={{ ssds.stdout_lines | count }} {{ ssds.stdout_lines | join ('-part1 ') }}-part1" register: "array_created" when: array_check.rc != 0 @@ -39,4 +39,4 @@ filesystem: dev="/dev/md10" fstype="xfs" - name: arrays | Mounting Array(s) - mount: name="/mnt/fast" src="/dev/md10" fstype="xfs" state="mounted" + mount: name="/mnt/fast" src="/dev/md10" fstype="xfs" state="mounted" opts="defaults,nofail,nodiratime,noatime" dump=0 passno=0 |