Merge pull request #1759 from fultonj/master

Set the permissions mode on all of the OpenStack keys
pull/1764/head v3.0.0rc3
Guillaume Abrioux 2017-08-10 21:54:15 +02:00 committed by GitHub
commit 980c324be0
1 changed files with 9 additions and 1 deletions

View File

@ -41,7 +41,6 @@
copy:
src: "{{ fetch_directory }}/{{ fsid }}/etc/ceph/{{ cluster }}.{{ item.1.name }}.keyring"
dest: "/etc/ceph/{{ cluster }}.{{ item.1.name }}.keyring"
mode: "{{ item.1.mode }}"
with_nested:
- "{{ groups[mon_group_name] }}"
- "{{ openstack_keys }}"
@ -63,3 +62,12 @@
when:
- openstack_config
- cephx
- name: chmod openstack key(s)
file:
path: "/etc/ceph/{{ cluster }}.{{ item.name }}.keyring"
mode: "{{ item.mode }}"
with_items: "{{ openstack_keys }}"
when:
- openstack_config
- cephx