ceph-ansible/roles/ceph-validate/tasks
Guillaume Abrioux bca8ac39c2 validate: improve message printed in check_devices.yml
The message prints the whole content of the registered variable in the
playbook, this is not needed and makes the message pretty unclear and
unreadable.

```
"msg": "{'_ansible_parsed': True, 'changed': False, '_ansible_no_log': False, u'err': u'Error: Could not stat device /dev/sdf - No such file or directory.\\n', 'item': u'/dev/sdf', '_ansible_item_result': True, u'failed': False, '_ansible_item_label': u'/dev/sdf', u'msg': u\"Error while getting device information with parted script: '/sbin/parted -s -m /dev/sdf -- unit 'MiB' print'\", u'rc': 1, u'invocation': {u'module_args': {u'part_start': u'0%', u'part_end': u'100%', u'name': None, u'align': u'optimal', u'number': None, u'label': u'msdos', u'state': u'info', u'part_type': u'primary', u'flags': None, u'device': u'/dev/sdf', u'unit': u'MiB'}}, 'failed_when_result': False, '_ansible_ignore_errors': None, u'out': u''} is not a block special file!"
```

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1719023

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit e6dc3ebd8c)
2019-07-10 09:37:01 -04:00
..
check_devices.yml validate: improve message printed in check_devices.yml 2019-07-10 09:37:01 -04:00
check_eth_mon.yml improve coding style 2019-05-06 15:09:06 +00:00
check_eth_rgw.yml improve coding style 2019-05-06 15:09:06 +00:00
check_ipaddr_mon.yml improve coding style 2019-05-06 15:09:06 +00:00
check_iscsi.yml iscsi: refact deprecated variables 2019-07-04 00:04:04 +00:00
check_nfs.yml validate: add a check for nfs standalone 2019-06-06 12:44:37 +00:00
check_rgw_multisite.yml lint: remove trailling spaces 2018-10-31 14:18:36 +01:00
check_system.yml ceph-validate: use kernel validation for iscsi 2019-05-21 09:17:46 +02:00
main.yml ansible: use 'bool' filter on boolean conditionals 2019-06-07 16:05:51 +02:00