summaryrefslogtreecommitdiffstats
path: root/docker/services
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-03-14 11:02:52 +0000
committerGerrit Code Review <review@openstack.org>2017-03-14 11:02:53 +0000
commit4a5569120175695bf8a66866c65b0850f6821098 (patch)
treed273f719c3ff33c9665c35c251b40cb5d2cd8ce2 /docker/services
parent5b4d32cebc121a86377415768800ad49d18bbb30 (diff)
parent6050809e5741842714167276bd4d3b6b3414609e (diff)
Merge "Tasks hook for preparing BM host for deploying containerized services"
Diffstat (limited to 'docker/services')
-rw-r--r--docker/services/services.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/docker/services/services.yaml b/docker/services/services.yaml
index 892da77c..84c56b5b 100644
--- a/docker/services/services.yaml
+++ b/docker/services/services.yaml
@@ -74,6 +74,11 @@ outputs:
{get_attr: [ServiceChain, role_data, docker_config]}
docker_puppet_tasks:
{get_attr: [ServiceChain, role_data, docker_puppet_tasks]}
+ host_prep_tasks:
+ yaql:
+ # Note we use distinct() here to filter any identical tasks
+ expression: $.data.where($ != null).select($.get('host_prep_tasks')).where($ != null).flatten().distinct()
+ data: {get_attr: [ServiceChain, role_data]}
upgrade_tasks:
yaql:
# Note we use distinct() here to filter any identical tasks, e.g yum update for all services