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
This commit is contained in:
Jonathan Rosser
2020年05月12日 17:18:44 +01:00
parent 101f354984
commit c5f44982bd

View File

@@ -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:|
Reference in New Issue
openstack/openstack-ansible-os_tempest
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.

The note is not visible to the blocked user.