openstack-ansible/tests
Nolan Brubaker e0b58924a7 Check for configured groups in the environment
When defining a configuration, it's possible that the groups defined in
the openstack_user_config.yml file might not match those defined by the
env.d contents. This isn't strictly a problem - in most cases it's
ignored and will simply result in extra data. However, if keys in the
configuration and the environment are mismatched, it could result in
variable data not being mapped correctly in the resultant inventory.

This patchset extends the -c/--check parameter to compare the configured
groups against the environment's groups, and issue a warning if there is
a mismatch, which should help deployers diagnose some configuration
issues.

The warnings were not added to standard run operations due to the amount
of output generated on stdout by the JSON dump.

Change-Id: I7a7e52b31909e963873063e43e28a5bb9a6963fd
2016-10-28 16:00:33 -04:00
..
inventory Create complete AIO inventory config for tests 2016-09-23 15:56:14 -04:00
roles/bootstrap-host Merge "Adds support for disks on HP Smart Array Controllers" 2016-10-19 23:55:59 +00:00
ansible.cfg Update ansible to version 2.1 2016-06-02 08:54:41 -05:00
bootstrap-aio.yml Add sshd_config to the bootstrap AIO process 2016-09-26 23:16:01 +00:00
get-ansible-role-requirements.yml Added option to set the role fetch mode 2016-05-23 09:48:56 +00:00
test-inventory.ini Update ansible to version 2.1 2016-06-02 08:54:41 -05:00
test_inventory.py Check for configured groups in the environment 2016-10-28 16:00:33 -04:00
test_manage.py Move management code to inventory lib. 2016-10-11 19:16:24 +00:00