From c5f44982bd5d7603d88cd233d15fb3244377ca04 Mon Sep 17 00:00:00 2001 From: Jonathan Rosser Date: 2020年5月12日 17:18:44 +0100 Subject: [PATCH] Fix deprecated os_project_facts ansible module usage This patch fixes the warning: [DEPRECATION WARNING]: The 'os_project_facts' module has been renamed to 'os_project_info', and the renamed one no longer returns ansible_facts. Change-Id: I7fe4bda991b968530453c620e1ea56a187a26924 --- tasks/tempest_resources.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/tempest_resources.yml b/tasks/tempest_resources.yml index 649359d7..a3d92a52 100644 --- a/tasks/tempest_resources.yml +++ b/tasks/tempest_resources.yml @@ -266,7 +266,7 @@ - tempest_service_available_nova | bool - name: Get the admin user project id - os_project_facts: + os_project_info: cloud: "{{ tempest_cloud_name }}" name: admin interface: "{{ tempest_interface_name }}" @@ -278,7 +278,7 @@ - name: Store admin project id set_fact: - tempest_admin_tenant_id: "{{ ansible_facts.openstack_projects[0].id }}" + tempest_admin_tenant_id: "{{ _get_admin_project.openstack_projects[0].id }}" - name: Ping router ip address shell: |

AltStyle によって変換されたページ (->オリジナル) /