tripleo-heat-templates/common
Jose Luis Franco Arza 6c675af9ba Add tags always into external update tasks.
After bumping the Ansible version in Tripleo to 2.6, it was needed
to perform a change in the include module into include_tasks or
import_tasks, as include was getting deprecated [0]. The external
update/upgrades tasks got impacted by that change, but as they use
a loop to execute the tasks we couldn't use import_tasks.
The way include_tasks handles the tasks execution depending on the
tags differs from import_tasks (dynamic vs static) and as a consequence
when running the external upgrade run passing --tags container_image_prepare
we didn't see any tasks running. This behavior got fix in [1], which
seems to be the right way to preserve the import_tasks tags handling as
explained in [2]. But the external update tasks were missed to patch.

This patch includes the tags: always statement inside the external
update tasks and also syncs the variables content we pass into external_update_tasks
as many of those variables, which we do pass for the external_upgrade_playbook,
were missing in the external_update_playbook.

[0] - https://review.opendev.org/#/c/579844/
[1] - https://review.opendev.org/#/c/639642/1
[2] - https://github.com/ansible/ansible/issues/30882#issuecomment-380596557
Closes-Bug: #1839520
Change-Id: If7e7b4bbb3cead0887384cc543ce37e9ee5396ab
2019-08-14 12:43:25 +00:00
..
services Introduce scale_tasks 2019-04-24 11:07:53 -04:00
container-puppet.py Revert "Fix generating Apache configs by container-puppet" 2019-08-02 13:54:35 +02:00
deploy-steps-tasks.yaml Force "Pre-cache" tasks to run in dry run 2019-08-08 13:37:38 -04:00
deploy-steps.j2 Add tags always into external update tasks. 2019-08-14 12:43:25 +00:00
post.j2.yaml Consolidate puppet/docker deployments with one deploy steps workflow 2017-08-11 17:25:02 +00:00