openstack-ansible-tests/tests/inventory
Jimmy McCrory b0be2e9327 Fix role gate tests for Ansible 2.3
In Ansible 2.3, 'ansible_user' seems to be undefined unless set within
the inventory for a host. 'ansible_user_id' contains the current user
running Ansible, but is only set after facts are gathered.

Change-Id: Id5b76a87809f03951c954fc3d752419a673403f7
2017-04-19 00:11:36 -07:00

29 lines
369 B
Plaintext

[all]
localhost
infra1 ansible_host=10.1.0.2 ansible_become=True ansible_user=root
keystone1 ansible_host=10.1.0.3 ansible_become=True ansible_user=root
[all_containers]
infra1
keystone1
[rabbitmq_all]
infra1
[galera_all]
infra1
[memcached_all]
infra1
[service_all:children]
rabbitmq_all
galera_all
memcached_all
[keystone_all]
keystone1
[utility_all]
keystone1