]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
Make acls and mode parameters of opentack_keys optional 2110/head
authorJohn Fulton <fulton@redhat.com>
Wed, 25 Oct 2017 23:46:02 +0000 (23:46 +0000)
committerJohn Fulton <fulton@redhat.com>
Thu, 26 Oct 2017 12:45:17 +0000 (12:45 +0000)
commitae156e9f34ed9083382bedf53d8f451360ce978a
tree84b48035eac0dcaf9c888d1763ef7380cfc57e3d
parent5f9e50dabe03632c7fda3a053e81f7dca19fc342
Make acls and mode parameters of opentack_keys optional

Only chmod or setfacl the requested keyring(s) in the
opentack_keys data structure when the mode or acls keys
of that data structure exist.

User may specify four permission combinations for the
keyring file(s): 1. only set ACL, 2. only set mode,
3. set neither mode nor ACL, 4. set mode and then ACL.

Fixes: #2092
roles/ceph-client/tasks/create_users_keys.yml
roles/ceph-mon/tasks/openstack_config.yml