summaryrefslogtreecommitdiffstats
path: root/playbooks/adhoc/upgrades
diff options
context:
space:
mode:
authorJason DeTiberus <jdetiber@redhat.com>2015-11-05 17:34:12 -0500
committerJason DeTiberus <jdetiber@redhat.com>2015-11-05 17:34:12 -0500
commit7b405f03f75b3c03a6016024ee757c1645bf234c (patch)
treef0e083ea31b303ec9d4134fb62f001fc65f287f6 /playbooks/adhoc/upgrades
parente9680cc1020f9c54221993b3ae816b046d92bafc (diff)
downloadopenshift-7b405f03f75b3c03a6016024ee757c1645bf234c.tar.gz
openshift-7b405f03f75b3c03a6016024ee757c1645bf234c.tar.bz2
openshift-7b405f03f75b3c03a6016024ee757c1645bf234c.tar.xz
openshift-7b405f03f75b3c03a6016024ee757c1645bf234c.zip
add master_hostnames definition for upgrade
Diffstat (limited to 'playbooks/adhoc/upgrades')
-rw-r--r--playbooks/adhoc/upgrades/upgrade.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/playbooks/adhoc/upgrades/upgrade.yml b/playbooks/adhoc/upgrades/upgrade.yml
index 3b3609dca..e63add4d1 100644
--- a/playbooks/adhoc/upgrades/upgrade.yml
+++ b/playbooks/adhoc/upgrades/upgrade.yml
@@ -155,6 +155,10 @@
- name: Generate missing master certificates
hosts: masters[0]
vars:
+ master_hostnames: "{{ hostvars
+ | oo_select_keys(groups.masters)
+ | oo_collect('openshift.common.all_hostnames')
+ | oo_flatten | unique }}"
master_generated_certs_dir: "{{ openshift.common.config_base }}/generated-configs"
masters_needing_certs: "{{ hostvars
| oo_select_keys(groups.masters)