summaryrefslogtreecommitdiffstats
path: root/roles/openshift_facts/tasks
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2016-05-16 16:30:41 -0400
committerScott Dodson <sdodson@redhat.com>2016-05-17 17:12:34 -0400
commit6a16a03ec080dd0095399d9522be5c2607b2f88f (patch)
tree1eef06b75e7e911c10dbca4fd1b8b0e9730f40f1 /roles/openshift_facts/tasks
parent1826e93bcf2ba21f0c1c7368dffd091a8bfbf142 (diff)
downloadopenshift-6a16a03ec080dd0095399d9522be5c2607b2f88f.tar.gz
openshift-6a16a03ec080dd0095399d9522be5c2607b2f88f.tar.bz2
openshift-6a16a03ec080dd0095399d9522be5c2607b2f88f.tar.xz
openshift-6a16a03ec080dd0095399d9522be5c2607b2f88f.zip
Fix rhel_subscribe
Diffstat (limited to 'roles/openshift_facts/tasks')
-rw-r--r--roles/openshift_facts/tasks/main.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/openshift_facts/tasks/main.yml b/roles/openshift_facts/tasks/main.yml
index ce410d1d5..47a82a968 100644
--- a/roles/openshift_facts/tasks/main.yml
+++ b/roles/openshift_facts/tasks/main.yml
@@ -42,8 +42,8 @@
https_proxy: "{{ openshift_https_proxy | default(None) }}"
no_proxy: "{{ openshift_no_proxy | default(None) }}"
generate_no_proxy_hosts: "{{ openshift_generate_no_proxy_hosts | default(True) }}"
- no_proxy_internal_hostnames: "{{ hostvars | oo_select_keys(groups['oo_nodes_to_config']
- | union(groups['oo_masters_to_config'])
+ no_proxy_internal_hostnames: "{{ hostvars | oo_select_keys(groups['oo_nodes_to_config'] | default([])
+ | union(groups['oo_masters_to_config'] | default([]) )
| union(groups['oo_etcd_to_config'] | default([])))
| oo_collect('openshift.common.hostname') | default([]) | join (',')
}}"