Merge pull request #955 from font/rgw

Fix for ceph-rgw role
pull/956/head
Leseb 2016-08-24 09:48:56 +02:00 committed by GitHub
commit 8719b3556c
1 changed files with 2 additions and 2 deletions

View File

@ -25,12 +25,12 @@
- name: push ceph files to the ansible server - name: push ceph files to the ansible server
fetch: fetch:
src: "{{ item.0 }}" src: "{{ item.0 }}"
dest: "{{ fetch_directory }}/docker_mon_files/var/lib/ceph/radosgw/keyring" dest: "{{ fetch_directory }}/docker_mon_files/var/lib/ceph/radosgw/{{ ansible_hostname }}/keyring"
flat: yes flat: yes
with_together: with_together:
- rgw_config_keys - rgw_config_keys
- statconfig.results - statconfig.results
when: when:
- item.1.stat.exists == false
- nfs_obj_gw - nfs_obj_gw
- item.1.stat.exists == false
- inventory_hostname == groups.rgws[0] - inventory_hostname == groups.rgws[0]