openstack-ansible-os_cinder/tests/inventory
Matt Thompson 321cedd504 Cinder test cleanup
This commit does the following:

- fully defines the inventory rather than having test-prepare-host.yml
  add containers to it
- updates test-prepare-keys.yml to use localhost instead of 127.0.0.1,
  uses become_user=jenkins instead of become=false, and removes
  redundant connection
- updates test-prepare-host.yml by changing 127.0.0.1 to localhost, and
  removes mocking ansible_env
- groups vars in defined in each individual file into a single
  test-vars.yml file

Change-Id: I198aab420f5d4c0aa17ef64a05ce300e18d0b108
2016-03-31 17:59:33 +00:00

40 lines
552 B
Plaintext

[all]
localhost ansible_connection=local ansible_become=True
infra1 ansible_host=10.100.100.2 ansible_become=True ansible_user=root
openstack1 ansible_host=10.100.100.3 ansible_become=True ansible_user=root
[all_containers]
infra1
openstack1
[rabbitmq_all]
infra1
[galera_all]
infra1
[service_all:children]
rabbitmq_all
galera_all
[keystone_all]
openstack1
[cinder_api]
openstack1
[cinder_scheduler]
openstack1
[cinder_backup]
openstack1
[cinder_volume]
localhost
[cinder_all:children]
cinder_api
cinder_scheduler
cinder_backup
cinder_volume