]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
Change attribute call to .get call in ceph keys 1181/head
authortynorth-cisco <tynorth@cisco.com>
Wed, 14 Dec 2016 00:48:14 +0000 (16:48 -0800)
committertynorth-cisco <tynorth@cisco.com>
Wed, 14 Dec 2016 00:48:14 +0000 (16:48 -0800)
commit3c6e156d0846ee392eda3b39d5e36bdd7a86d305
tree3007650b6c3ab5be2aa749fddf844a587b396f49
parentb9d296e926e1ae8a75248637e64eb2f2caa9ce6a
Change attribute call to .get call in ceph keys

If previous check was not run, .stdout_lines is not a valid key on the dictionary.
To get around this, use .get("stdout_lines") instead.

Also add in a default empty list
roles/ceph-mon/tasks/ceph_keys.yml