Commit Graph

5 Commits

Author SHA1 Message Date
Major Hayden c36d31d325
Simplify nodepool variable gathering
This patch breaks down the nodepool variable setting into one task
that gathers variables, one task that sets those variables, and
one task that adds in extra variables that require customization.

Change-Id: If838e0db750416db5ae2f534eef6fdf579c5cc10
2018-03-08 15:36:06 -06:00
Jesse Pretorius dad9515c35 Implement any_errors_fatal for all test playbooks
Sometimes a test will result in a failure, but it
takes more time than necessary to find the failure
due to Ansible continuing to execute on other hosts
after removing one from the play execution.

This patch ensures that any error will result in
an immediate failure so that the fatal error is
easier to find.

Change-Id: I4e89bfdb1e48d0ac65f9fb8549e55a19ab773f9f
2017-07-17 10:09:11 +00:00
Andy McCrae 68464bb6c3 Add Ironic vars and play to central test repo
Ironic requires some new glance vars, as well as the ironic vars.

This ensures facts are set for the ironic host, as well as adding the
test-install-ironic.yml play so it can benefit from the common tasks
more easily.

Change-Id: Ib5dee3ee50a4a1a443ebf7b744001d6f5bd40d1e
2016-09-27 13:35:36 +00:00
Kevin Carter 2266ba91ec
Create common task for nodepool specific tasks
Change-Id: Ib8b76b539e27872fec1b2208595c07ce3dfb360e
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2016-08-26 14:38:55 -05:00
root 7f03b7fdc4 Added tasks in nova and neutron test yml files
Moved Rabbitmq and DB tasks to generic files.
This patch removes the redundant behaviour of the tasks such
as Ensuring Rabbitmq hosts and user, creating db, granting access
to db in the testing yml files. The patch  makes it more generic
and shifted the common tasks to separate files create-grant-db.yml
 and ensure-rabbitmq.yml

Change-Id: Ibd94e1ebdce45b782ab447ca3db5068588a1e368
2016-08-24 16:35:18 +00:00