diff --git a/tasks/swift_proxy_hosts.yml b/tasks/swift_proxy_hosts.yml index 7a701de5..ca3fd72e 100644 --- a/tasks/swift_proxy_hosts.yml +++ b/tasks/swift_proxy_hosts.yml @@ -14,7 +14,7 @@ # limitations under the License. - name: Get Gnocchi project id - os_project_facts: + os_project_info: name: "{{ gnocchi_service_project_name }}" interface: "{{ keystone_service_adminurl }}" verify: "{{ keystone_service_adminuri_insecure }}" @@ -28,7 +28,7 @@ - name: Store Gnocchi project id set_fact: - swift_gnocchi_service_project_id: "{{ keystone_facts.id }}" + swift_gnocchi_service_project_id: "{{ get_gnocchi_project.keystone_facts.id }}" when: - swift_gnocchi_enabled | bool - get_gnocchi_project is success