From c8bef61fb036787da32ec1a12d51fad69b8b626b Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Fri, 11 Oct 2019 06:47:20 +0200 Subject: Don't fail in case of problems with fast storage --- roles/ands_storage/tasks/ipecompute4.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'roles/ands_storage/tasks/ipecompute4.yml') 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 -- cgit v1.2.3