Tasks from this file ->roles/vicenteg.mapr_configuration/tasks/main.yml
name: disksetup -F (to format disks for MFS)
become: yes
become_user: root
command: creates=/opt/mapr/conf/disktab /opt/mapr/server/disksetup -F {% if storage_pool_width is defined %} -W {{storage_pool_width}}{% endif %} /tmp/disks.txt
when: inventory_hostname in groups["cluster"] and "disklist is defined and disklist.stdout.find('MapR-FS') == -1"
TASK [vicenteg.mapr_configuration : disksetup -F (to format disks for MFS)] *** fatal: [172.31.0.177]: FAILED! => {"changed": true, "cmd": ["bash", "-c", "creates=/opt/mapr/conf/disktab /opt/mapr/server/disksetup -F /tmp/disks.txt"], "delta": "0:00:03.934873", "5:32.798445", "failed": true, "rc": 1, "start": "2017-08-05 07:45:28.863572", "stderr": "", "stderr_lines": [], "stdout": "/dev/xvdf failed. Error 22, Invalid argument. ", "stdout_lind. Error 22, Invalid argument. "]}
Tasks from this file ->roles/vicenteg.mapr_configuration/tasks/main.yml