Replace Module
Modified the file to use the os_project module instead of the keystone module. w Change-Id: Ib12f291002914cc2fcd9df34fad54ef23176ee70
This commit is contained in:
parent
bc9c52c8ab
commit
2563c39ab0
@ -20,15 +20,12 @@
|
|||||||
ansible_python_interpreter: "{{ trove_service_setup_host_python_interpreter }}"
|
ansible_python_interpreter: "{{ trove_service_setup_host_python_interpreter }}"
|
||||||
block:
|
block:
|
||||||
- name: Get admin tenant id
|
- name: Get admin tenant id
|
||||||
keystone:
|
os_project_facts:
|
||||||
command: get_tenant
|
cloud: default
|
||||||
tenant_name: admin
|
state: present
|
||||||
endpoint: "{{ keystone_service_adminurl }}"
|
name: admin
|
||||||
login_user: "{{ keystone_admin_user_name }}"
|
interface: "{{ keystone_service_adminurl }}"
|
||||||
login_password: "{{ keystone_auth_admin_password }}"
|
|
||||||
login_project_name: "{{ keystone_admin_tenant_name }}"
|
|
||||||
no_log: True
|
no_log: True
|
||||||
|
|
||||||
- name: Store admin tenant id
|
- name: Store admin tenant id
|
||||||
set_fact:
|
set_fact:
|
||||||
keystone_admin_tenant_id: "{{ keystone_facts.id }}"
|
keystone_admin_tenant_id: "{{ keystone_facts.id }}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user