Merge "BaR Ceph authenticacion more ansible way" into stable/ussuri
This commit is contained in:
commit
5af33e21a2
|
@ -46,7 +46,6 @@
|
|||
- syslinux
|
||||
- genisoimage
|
||||
- kbd
|
||||
- hiera
|
||||
|
||||
post_tasks:
|
||||
- name: Create hiera config file
|
||||
|
|
|
@ -35,7 +35,16 @@
|
|||
- name: Export ceph authentication
|
||||
shell: |
|
||||
set -o pipefail
|
||||
{{ tripleo_container_cli }} exec ceph-mon-{{ ansible_hostname }} bash -c "ceph auth export" > {{ tripleo_backup_and_restore_ceph_auth_file }}
|
||||
{{ tripleo_container_cli }} exec ceph-mon-{{ ansible_hostname }} bash -c "ceph auth export"
|
||||
become: true
|
||||
register: bar_ceph_authentication_content
|
||||
tags:
|
||||
- bar_create_recover_image
|
||||
|
||||
- name: Save ceph authentication at {{ tripleo_backup_and_restore_ceph_auth_file }}
|
||||
copy:
|
||||
dest: "{{ tripleo_backup_and_restore_ceph_auth_file }}"
|
||||
content: |
|
||||
{{ bar_ceph_authentication_content.stdout }}
|
||||
tags:
|
||||
- bar_create_recover_image
|
||||
|
|
Loading…
Reference in New Issue