diff options
author | Devan Goodwin <dgoodwin@redhat.com> | 2015-12-14 15:29:24 -0400 |
---|---|---|
committer | Andrew Butcher <abutcher@redhat.com> | 2016-01-11 16:04:36 -0500 |
commit | dea9abfe22864cf10d85d85370b1633ca18060b6 (patch) | |
tree | 88f264d80f0c20d2f171724a5fd63508794d021b /playbooks/byo | |
parent | 52a4f52d023c1fd670b761974e7a5f0ef35a0eaf (diff) | |
download | openshift-dea9abfe22864cf10d85d85370b1633ca18060b6.tar.gz openshift-dea9abfe22864cf10d85d85370b1633ca18060b6.tar.bz2 openshift-dea9abfe22864cf10d85d85370b1633ca18060b6.tar.xz openshift-dea9abfe22864cf10d85d85370b1633ca18060b6.zip |
Implement simple master rolling restarts.
Blocks running ansible on a host that will be restarted.
Can restart just services, or optionally the full system.
Diffstat (limited to 'playbooks/byo')
-rw-r--r-- | playbooks/byo/openshift-cluster/restart.yml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/playbooks/byo/openshift-cluster/restart.yml b/playbooks/byo/openshift-cluster/restart.yml new file mode 100644 index 000000000..da0da69a6 --- /dev/null +++ b/playbooks/byo/openshift-cluster/restart.yml @@ -0,0 +1,7 @@ +--- +- include: ../../common/openshift-cluster/restart.yml + vars: + g_etcd_hosts: "{{ groups.etcd | default([]) }}" + g_master_hosts: "{{ groups.masters | default([]) }}" + g_node_hosts: "{{ groups.nodes | default([]) }}" + g_lb_hosts: "{{ groups.lb | default([]) }}" |