summaryrefslogtreecommitdiffstats
path: root/playbooks/container-runtime/private/build_container_groups.yml
diff options
context:
space:
mode:
authorMichael Gugino <gugino.michael@yahoo.com>2018-01-08 18:14:35 -0500
committerGitHub <noreply@github.com>2018-01-08 18:14:35 -0500
commit7536af8e199c025451bdb7f5083c685b8ed5180d (patch)
tree3ceb284f519984f564f4a8de6943c2d28bfc2da2 /playbooks/container-runtime/private/build_container_groups.yml
parent96d40700a892353bd8207a1e7c4e7a662ae757cc (diff)
parent08f085dd28a32fffbd15d7f2d511fb12bd0fe947 (diff)
downloadopenshift-7536af8e199c025451bdb7f5083c685b8ed5180d.tar.gz
openshift-7536af8e199c025451bdb7f5083c685b8ed5180d.tar.bz2
openshift-7536af8e199c025451bdb7f5083c685b8ed5180d.tar.xz
openshift-7536af8e199c025451bdb7f5083c685b8ed5180d.zip
Merge pull request #6651 from mgugino-upstream-stage/containerized-groups
Build containerized host group dynamically
Diffstat (limited to 'playbooks/container-runtime/private/build_container_groups.yml')
-rw-r--r--playbooks/container-runtime/private/build_container_groups.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/playbooks/container-runtime/private/build_container_groups.yml b/playbooks/container-runtime/private/build_container_groups.yml
new file mode 100644
index 000000000..7fd60743c
--- /dev/null
+++ b/playbooks/container-runtime/private/build_container_groups.yml
@@ -0,0 +1,6 @@
+---
+- name: create oo_hosts_containerized_managed_true host group
+ hosts: oo_all_hosts:!oo_nodes_to_config
+ tasks:
+ - group_by:
+ key: oo_hosts_containerized_managed_{{ (containerized | default(False)) | ternary('true','false') }}