tripleo-quickstart/playbooks
Lars Kellogg-Stedman 0cec56d80b fix teardown (tagging and ansible_user)
This patch fixes two large problems with our teardown logic:

(a) the tags applied to the teardown plays combined with the way we
were calling ansible in quickstart.sh meant that we never executed the
teardown tasks with the default `OPT_TEARDOWN=nodes` behavior.

(b) We were calling all of the teardown tasks at the same point, which
meant that the environment and node teardown tasks were being called
with `ansible_user=root`.  This meant that the node teardown in
particular was a no-op, because the libvirt environment of the stack
user was invisible to the tasks running as root.

With this change in place, I can successfully run quickstart.sh
several times in a row without error (previously this would fail
because the teardown tasks wouldn't execute, causing conflicts)

Change-Id: Ic94241c1d87b2dae335c6cb6627a4fdb5419482e
Closes-bug: 1610677
Closes-bug: 1610537
2016-08-11 10:57:36 -04:00
..
build-images-and-quickstart.yml Refactor CI jobs to be usable via quickstart.sh 2016-03-11 20:14:22 -05:00
build-images.yml Remove the obsolete rebuild-inventory role 2016-08-05 10:34:22 +00:00
dlrn-gate.yml Remove the obsolete rebuild-inventory role 2016-08-05 10:34:22 +00:00
gate-roles.yml Gate ansible-role-tripleo-* roles 2016-06-14 14:55:24 +02:00
libvirt-setup.yml Remove the obsolete rebuild-inventory role 2016-08-05 10:34:22 +00:00
libvirt-teardown.yml Remove provision play from libvirt playbooks 2015-12-04 07:48:43 -05:00
noop.yml Add noop playbook 2016-06-08 17:08:05 +02:00
provision.yml Remove the obsolete rebuild-inventory role 2016-08-05 10:34:22 +00:00
quickstart.yml fix teardown (tagging and ansible_user) 2016-08-11 10:57:36 -04:00
teardown-environment.yml fix teardown (tagging and ansible_user) 2016-08-11 10:57:36 -04:00
teardown-nodes.yml fix teardown (tagging and ansible_user) 2016-08-11 10:57:36 -04:00
teardown-provision.yml fix teardown (tagging and ansible_user) 2016-08-11 10:57:36 -04:00
teardown.yml fix teardown (tagging and ansible_user) 2016-08-11 10:57:36 -04:00
tripleo-roles.yml fix teardown (tagging and ansible_user) 2016-08-11 10:57:36 -04:00