summaryrefslogtreecommitdiffstats
path: root/playbooks/openshift-master/private/config.yml
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2018-02-01 10:30:53 -0500
committerGitHub <noreply@github.com>2018-02-01 10:30:53 -0500
commit24f9b73bb9a6d6197a5028fe0d223c8823e2905e (patch)
treed97de0bd3d574dada209d7ddf4d67b64cb4b46da /playbooks/openshift-master/private/config.yml
parent8d2f2d7820b5c238f4723e4eade3882ca7332685 (diff)
parent4f7d963986a1e28ecc6abd15532b0c1aece99be1 (diff)
downloadopenshift-24f9b73bb9a6d6197a5028fe0d223c8823e2905e.tar.gz
openshift-24f9b73bb9a6d6197a5028fe0d223c8823e2905e.tar.bz2
openshift-24f9b73bb9a6d6197a5028fe0d223c8823e2905e.tar.xz
openshift-24f9b73bb9a6d6197a5028fe0d223c8823e2905e.zip
Merge pull request #6876 from mgugino-upstream-stage/fix-restart-master-play
Remove master_ha bool checks
Diffstat (limited to 'playbooks/openshift-master/private/config.yml')
-rw-r--r--playbooks/openshift-master/private/config.yml3
1 files changed, 1 insertions, 2 deletions
diff --git a/playbooks/openshift-master/private/config.yml b/playbooks/openshift-master/private/config.yml
index 153ea9993..d2fc2eed8 100644
--- a/playbooks/openshift-master/private/config.yml
+++ b/playbooks/openshift-master/private/config.yml
@@ -78,7 +78,6 @@
console_url: "{{ openshift_master_console_url | default(None) }}"
console_use_ssl: "{{ openshift_master_console_use_ssl | default(None) }}"
public_console_url: "{{ openshift_master_public_console_url | default(None) }}"
- ha: "{{ openshift_master_ha | default(groups.oo_masters | length > 1) }}"
master_count: "{{ openshift_master_count | default(groups.oo_masters | length) }}"
- name: Inspect state of first master config settings
@@ -166,7 +165,6 @@
hosts: oo_masters_to_config
any_errors_fatal: true
vars:
- openshift_master_ha: "{{ openshift.master.ha }}"
openshift_master_count: "{{ openshift.master.master_count }}"
openshift_master_session_auth_secrets: "{{ hostvars[groups.oo_first_master.0].openshift.master.session_auth_secrets }}"
openshift_master_session_encryption_secrets: "{{ hostvars[groups.oo_first_master.0].openshift.master.session_encryption_secrets }}"
@@ -186,6 +184,7 @@
- role: openshift_buildoverrides
- role: nickhammond.logrotate
- role: openshift_master
+ openshift_master_ha: "{{ (groups.oo_masters | length > 1) | bool }}"
openshift_master_hosts: "{{ groups.oo_masters_to_config }}"
r_openshift_master_clean_install: "{{ hostvars[groups.oo_first_master.0].l_clean_install }}"
r_openshift_master_etcd3_storage: "{{ hostvars[groups.oo_first_master.0].l_etcd3_enabled }}"