ceph-ansible/roles/ceph-validate/tasks
Guillaume Abrioux 1716eea5e3 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

(cherry picked from commit e6dc3ebd8c)
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
2019-07-10 09:37:12 -04:00
..
check_devices.yml validate: improve message printed in check_devices.yml 2019-07-10 09:37:12 -04:00
check_eth_mon.yml Convert interface names to underscores 2019-02-28 19:02:32 +00:00
check_eth_rgw.yml Convert interface names to underscores 2019-02-28 19:02:32 +00:00
check_ipaddr_mon.yml remove all NBSPs char in stable-3.2 branch 2019-04-10 13:27:48 +02:00
check_iscsi.yml igw: valid client CHAP settings. 2018-10-01 18:23:03 +02:00
check_rgw_multisite.yml validate: remove check on rgw_multisite_endpoint_addr definition 2018-10-30 14:00:28 +01:00
check_system.yml validate: allow stable-3.2 to run with ansible 2.4 2018-11-16 08:57:00 +00:00
main.yml don't install NTPd on Atomic 2019-06-18 10:46:34 +02:00