diff options
Diffstat (limited to 'roles/ands_storage/tasks/ipecompute4.yml')
-rw-r--r-- | roles/ands_storage/tasks/ipecompute4.yml | 4 |
1 files changed, 2 insertions, 2 deletions
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 |