diff options
author | Jason DeTiberus <jdetiber@redhat.com> | 2015-11-05 17:34:12 -0500 |
---|---|---|
committer | Jason DeTiberus <jdetiber@redhat.com> | 2015-11-05 17:34:12 -0500 |
commit | 7b405f03f75b3c03a6016024ee757c1645bf234c (patch) | |
tree | f0e083ea31b303ec9d4134fb62f001fc65f287f6 /playbooks/adhoc/upgrades/upgrade.yml | |
parent | e9680cc1020f9c54221993b3ae816b046d92bafc (diff) | |
download | openshift-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/upgrade.yml')
-rw-r--r-- | playbooks/adhoc/upgrades/upgrade.yml | 4 |
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) |