summaryrefslogtreecommitdiffstats
path: root/roles/openshift_builddefaults/tasks
diff options
context:
space:
mode:
authorJason DeTiberus <detiber@gmail.com>2016-05-05 15:30:44 -0400
committerJason DeTiberus <detiber@gmail.com>2016-05-05 15:30:44 -0400
commitb55268ba29f436a2ade9643adf195d23145d0826 (patch)
tree433643d098d2d38ee3629e5371674911b38878d1 /roles/openshift_builddefaults/tasks
parent2534b73692e16f54ffdd623e305c3cd1f494eff3 (diff)
parentf0c412a9ab50a9030d51f83c459a66451a7c344a (diff)
downloadopenshift-b55268ba29f436a2ade9643adf195d23145d0826.tar.gz
openshift-b55268ba29f436a2ade9643adf195d23145d0826.tar.bz2
openshift-b55268ba29f436a2ade9643adf195d23145d0826.tar.xz
openshift-b55268ba29f436a2ade9643adf195d23145d0826.zip
Merge pull request #1853 from abutcher/v2-hostvars
Replace hostvars with vars for openshift env facts when ansible >= v2.
Diffstat (limited to 'roles/openshift_builddefaults/tasks')
-rw-r--r--roles/openshift_builddefaults/tasks/main.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/openshift_builddefaults/tasks/main.yml b/roles/openshift_builddefaults/tasks/main.yml
index c82aebe72..6a4e919e8 100644
--- a/roles/openshift_builddefaults/tasks/main.yml
+++ b/roles/openshift_builddefaults/tasks/main.yml
@@ -4,8 +4,8 @@
role: builddefaults
# TODO: add ability to define builddefaults env vars sort of like this
# may need to move the config generation to a filter however.
- # openshift_env: "{{ hostvars[inventory_hostname]
- # | oo_merge_dicts(hostvars)
+ # openshift_env: "{{ hostvars
+ # | oo_merge_hostvars(vars, inventory_hostname)
# | oo_openshift_env }}"
# openshift_env_structures:
# - 'openshift.builddefaults.env.*'