summaryrefslogtreecommitdiffstats
path: root/playbooks/openshift-master/private/restart.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/restart.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/restart.yml')
-rw-r--r--playbooks/openshift-master/private/restart.yml9
1 files changed, 3 insertions, 6 deletions
diff --git a/playbooks/openshift-master/private/restart.yml b/playbooks/openshift-master/private/restart.yml
index 5cb284935..17d90533c 100644
--- a/playbooks/openshift-master/private/restart.yml
+++ b/playbooks/openshift-master/private/restart.yml
@@ -3,16 +3,13 @@
- name: Restart masters
hosts: oo_masters_to_config
- vars:
- openshift_master_ha: "{{ groups.oo_masters_to_config | length > 1 }}"
serial: 1
- handlers:
- - import_tasks: ../../../roles/openshift_master/handlers/main.yml
roles:
- openshift_facts
post_tasks:
- include_tasks: tasks/restart_hosts.yml
when: openshift_rolling_restart_mode | default('services') == 'system'
-
- - include_tasks: tasks/restart_services.yml
+ - import_role:
+ name: openshift_master
+ tasks_from: restart.yml
when: openshift_rolling_restart_mode | default('services') == 'services'