From 9c1940e461867f2ce986a81fa313d7995592f0c5 Mon Sep 17 00:00:00 2001 From: Giulio Fidente Date: Wed, 24 May 2017 18:45:59 +0200 Subject: Provides a list of per-service ctlplane IPs to the workflows env Adds in the execution environment of the workflow steps a list of per-service network IPs. This can be used by the workflows to execute actions against the nodes hosting a given service. Change-Id: Id7c735d53f04f6ad848b2f9f1adaa3c84ecd2fcd Implements: blueprint tripleo-ceph-ansible --- puppet/puppet-steps.j2 | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'puppet/puppet-steps.j2') diff --git a/puppet/puppet-steps.j2 b/puppet/puppet-steps.j2 index cc681fd3..82c6171e 100644 --- a/puppet/puppet-steps.j2 +++ b/puppet/puppet-steps.j2 @@ -133,8 +133,14 @@ resources: actions: CREATE: workflow: { get_resource: WorkflowTasks_Step{{step}} } + params: + env: + service_ips: { get_param: ctlplane_service_ips } UPDATE: workflow: { get_resource: WorkflowTasks_Step{{step}} } + params: + env: + service_ips: { get_param: ctlplane_service_ips } always_update: true {% endfor %} # END service_workflow_tasks handling -- cgit 1.2.3-korg