Include tripleo_ceph_workdir role on rgw variables override

This change includes the ceph_workdir prepare role to make
sure the ceph_rgw_config_overrides variable is set in the
same block where the task which builds the global overrides
executes.

Co-Authored-By: Giulio Fidente <gfidente@redhat.com>
Change-Id: I68690e87e678b6ad31fce37cc352083251083927
Closes-Bug: 1879938
(cherry picked from commit a9ab369898)
This commit is contained in:
Francesco Pantano 2020-05-21 14:27:04 +02:00
parent ee0ea45368
commit 2b85b569be
No known key found for this signature in database
GPG Key ID: 799868C47301D458
1 changed files with 4 additions and 0 deletions

View File

@ -143,6 +143,10 @@ outputs:
- radosgw_frontend_ssl_certificate: '/etc/pki/tls/certs/ceph_rgw.pem'
- {get_attr: [CephRgwAnsibleVars, value, vars]}
ceph_rgw_config_overrides: {get_attr: [CephRgwConfigOverrides, value, vars]}
- name: create ceph-ansible working directory
include_role:
name: tripleo-ceph-work-dir
tasks_from: prepare
- name: generate ceph-ansible group vars rgws
copy:
dest: "{{playbook_dir}}/ceph-ansible/group_vars/rgws.yml"