summaryrefslogtreecommitdiffstats
path: root/playbooks/openshift-master/private/restart.yml
blob: 17d90533c58c27baf30a176878db373348e88744 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
---
- import_playbook: validate_restart.yml

- name: Restart masters
  hosts: oo_masters_to_config
  serial: 1
  roles:
  - openshift_facts
  post_tasks:
  - include_tasks: tasks/restart_hosts.yml
    when: openshift_rolling_restart_mode | default('services') == 'system'
  - import_role:
      name: openshift_master
      tasks_from: restart.yml
    when: openshift_rolling_restart_mode | default('services') == 'services'