Merge "Optimse the external ceph configure action"

This commit is contained in:
Zuul 2018-06-26 14:02:37 +00:00 committed by Gerrit Code Review
commit 0844bf33f5

View File

@ -7,10 +7,8 @@
- inventory_hostname in groups['manila-share'] - inventory_hostname in groups['manila-share']
- name: Copying over ceph.conf for manila - name: Copying over ceph.conf for manila
merge_configs: template:
sources: src: "{{ node_custom_config }}/manila/ceph.conf"
- "{{ node_custom_config }}/manila/ceph.conf"
- "{{ node_custom_config }}/manila/manila-share/ceph.conf"
dest: "{{ node_config_directory }}/manila-share/ceph.conf" dest: "{{ node_config_directory }}/manila-share/ceph.conf"
mode: "0660" mode: "0660"
become: true become: true
@ -26,8 +24,7 @@
mode: "0600" mode: "0600"
become: true become: true
with_fileglob: with_fileglob:
- "{{ node_custom_config }}/manila/ceph.client.manila.keyring" - "{{ node_custom_config }}/manila/ceph.client*"
- "{{ node_custom_config }}/manila/manila/ceph.client.manila.keyring"
when: when:
- inventory_hostname in groups['manila-share'] - inventory_hostname in groups['manila-share']
notify: notify: