diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2019-10-11 06:47:20 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2019-10-11 06:47:20 +0200 |
commit | c8bef61fb036787da32ec1a12d51fad69b8b626b (patch) | |
tree | 108579175e76eaf8bbc5d58b95a056a3ae7c98d3 /roles/ands_storage/tasks | |
parent | b23e9400c36acf9856606165489e8828c2cf8dd5 (diff) | |
download | itm-c8bef61fb036787da32ec1a12d51fad69b8b626b.tar.gz itm-c8bef61fb036787da32ec1a12d51fad69b8b626b.tar.bz2 itm-c8bef61fb036787da32ec1a12d51fad69b8b626b.tar.xz itm-c8bef61fb036787da32ec1a12d51fad69b8b626b.zip |
Don't fail in case of problems with fast storage
Diffstat (limited to 'roles/ands_storage/tasks')
-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 |