summaryrefslogtreecommitdiffstats
path: root/playbooks/openshift-master/private/restart.yml
diff options
context:
space:
mode:
authorRussell Teague <rteague@redhat.com>2017-11-22 13:05:18 -0500
committerRussell Teague <rteague@redhat.com>2017-11-22 13:05:18 -0500
commitc378c56c138945b78d69b8c42218bef74b85de2b (patch)
treec0a2b22fc887b3735b65acbea59fbecbf4202732 /playbooks/openshift-master/private/restart.yml
parentdf81cfca01b7633a95359ed6097a9dd2f7b72f84 (diff)
downloadopenshift-c378c56c138945b78d69b8c42218bef74b85de2b.tar.gz
openshift-c378c56c138945b78d69b8c42218bef74b85de2b.tar.bz2
openshift-c378c56c138945b78d69b8c42218bef74b85de2b.tar.xz
openshift-c378c56c138945b78d69b8c42218bef74b85de2b.zip
Include Deprecation - openshift-master
Diffstat (limited to 'playbooks/openshift-master/private/restart.yml')
-rw-r--r--playbooks/openshift-master/private/restart.yml9
1 files changed, 4 insertions, 5 deletions
diff --git a/playbooks/openshift-master/private/restart.yml b/playbooks/openshift-master/private/restart.yml
index 4d73b8124..5cb284935 100644
--- a/playbooks/openshift-master/private/restart.yml
+++ b/playbooks/openshift-master/private/restart.yml
@@ -1,5 +1,5 @@
---
-- include: validate_restart.yml
+- import_playbook: validate_restart.yml
- name: Restart masters
hosts: oo_masters_to_config
@@ -7,13 +7,12 @@
openshift_master_ha: "{{ groups.oo_masters_to_config | length > 1 }}"
serial: 1
handlers:
- - include: ../../../roles/openshift_master/handlers/main.yml
- static: yes
+ - import_tasks: ../../../roles/openshift_master/handlers/main.yml
roles:
- openshift_facts
post_tasks:
- - include: restart_hosts.yml
+ - include_tasks: tasks/restart_hosts.yml
when: openshift_rolling_restart_mode | default('services') == 'system'
- - include: restart_services.yml
+ - include_tasks: tasks/restart_services.yml
when: openshift_rolling_restart_mode | default('services') == 'services'