ceph-ansible/roles/ceph-client
Guillaume Abrioux 8a653cacd5 client: add a default value for keyring file
Potential error if someone doesnt pass the mode in `keys` dict for
client nodes:

```
fatal: [client2]: FAILED! => {}

MSG:

The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'mode'

The error appears to have been in '/home/guits/ceph-ansible/roles/ceph-client/tasks/create_users_keys.yml': line 117, column 3, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

- name: get client cephx keys
  ^ here

exception type: <class 'ansible.errors.AnsibleUndefinedVariable'>
exception: 'dict object' has no attribute 'mode'

```

adding a default value will avoid the deployment failing for this.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
2018-06-07 17:26:35 +02:00
..
defaults tests: update the type for the rule used in pools 2018-04-30 08:15:18 +02:00
meta ceph-client: Add support for the openSUSE Leap distributions 2017-11-14 10:51:23 +00:00
tasks client: add a default value for keyring file 2018-06-07 17:26:35 +02:00
LICENSE ceph-client: introduce new client role 2016-05-11 14:36:35 +02:00
README.md Cleanup readme files in roles directories 2017-10-17 11:22:06 +02:00

README.md

Ansible role: ceph-client

Documentation is available at http://docs.ceph.com/ceph-ansible/.