]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
Make acls and mode parameters of opentack_keys optional 2116/head
authorJohn Fulton <fulton@redhat.com>
Wed, 25 Oct 2017 23:46:02 +0000 (23:46 +0000)
committerSébastien Han <seb@redhat.com>
Fri, 27 Oct 2017 07:53:03 +0000 (09:53 +0200)
commit025fd6860b4c94dd277e790a930f1f81fa84858d
treeffbaaf0b7fdb925a87715764f8af0b08fe237634
parent8a61dbb9024f40c6d3dcecc7b59c462e1a9e0cc0
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
(cherry picked from commit ae156e9f34ed9083382bedf53d8f451360ce978a)
Signed-off-by: Sébastien Han <seb@redhat.com>
roles/ceph-client/tasks/create_users_keys.yml
roles/ceph-mon/tasks/openstack_config.yml