From 76421eb249051c749c920e600d9caa508d9e7729 Mon Sep 17 00:00:00 2001 From: Steven Hardy Date: Thu, 20 Jul 2017 15:04:10 +0100 Subject: Move deploy-steps-playbook to deploy-steps-tasks So that we can more easily iterate over an include in an output Change-Id: Idd5bb47589e5c37123caafcded1afbff8881aa33 --- common/deploy-steps.j2 | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'common/deploy-steps.j2') diff --git a/common/deploy-steps.j2 b/common/deploy-steps.j2 index e5d7e98c..bd8d9bc0 100644 --- a/common/deploy-steps.j2 +++ b/common/deploy-steps.j2 @@ -72,7 +72,15 @@ resources: - name: update_identifier - name: bootstrap_server_id - name: docker_puppet_debug - config: {get_file: deploy-steps-playbook.yaml} + config: + str_replace: + template: | + - hosts: localhost + connection: local + tasks: + _TASKS + params: + _TASKS: {get_file: deploy-steps-tasks.yaml} {%- for step in range(1, deploy_steps_max) %} # BEGIN service_workflow_tasks handling -- cgit 1.2.3-korg