mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
9f61144401
The OpenStack inventory lists hostnames as the UUIDs because hostsnames are not guarnateed to be unique on OpenStack. However, for the common case, this is just confusing. The new behavior is a visible change, so make it an opt-in via config. Only turn the hostnames to UUIDs if there are duplicate hostnames.
31 lines
740 B
YAML
31 lines
740 B
YAML
clouds:
|
|
mordred:
|
|
cloud: hp
|
|
auth:
|
|
username: mordred@example.com
|
|
password: my-wonderful-password
|
|
project_name: mordred-tenant
|
|
region_name: region-b.geo-1
|
|
monty:
|
|
cloud: hp
|
|
auth:
|
|
username: monty.taylor@example.com
|
|
password: another-wonderful-password
|
|
project_name: monty.taylor@example.com-default-tenant
|
|
region_name: region-b.geo-1
|
|
rax:
|
|
cloud: rackspace
|
|
auth:
|
|
username: example
|
|
password: spectacular-password
|
|
project_id: 2352426
|
|
region_name: DFW,ORD,IAD
|
|
devstack:
|
|
auth:
|
|
auth_url: http://127.0.0.1:35357/v2.0/
|
|
username: stack
|
|
password: stack
|
|
project_name: stack
|
|
ansible:
|
|
use_hostnames: True
|
|
expand_hostvars: False
|