summaryrefslogtreecommitdiffstats
path: root/roles/openshift_master/tasks
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2016-05-24 17:08:39 -0400
committerScott Dodson <sdodson@redhat.com>2016-06-07 16:58:47 -0400
commit98fa177034fd31b638afba5f826e83cb44e830a9 (patch)
tree70f65bba8cf813aeb161a69fe1971de7c4af86b6 /roles/openshift_master/tasks
parent5fb5bf96d0d616d8d952a85d831d6bb38978842d (diff)
downloadopenshift-98fa177034fd31b638afba5f826e83cb44e830a9.tar.gz
openshift-98fa177034fd31b638afba5f826e83cb44e830a9.tar.bz2
openshift-98fa177034fd31b638afba5f826e83cb44e830a9.tar.xz
openshift-98fa177034fd31b638afba5f826e83cb44e830a9.zip
At least backup things
Diffstat (limited to 'roles/openshift_master/tasks')
-rw-r--r--roles/openshift_master/tasks/systemd_units.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/openshift_master/tasks/systemd_units.yml b/roles/openshift_master/tasks/systemd_units.yml
index a81270bab..2b527c03b 100644
--- a/roles/openshift_master/tasks/systemd_units.yml
+++ b/roles/openshift_master/tasks/systemd_units.yml
@@ -42,6 +42,7 @@
template:
src: "{{ ha_svc_template_path }}/atomic-openshift-master-api.j2"
dest: /etc/sysconfig/{{ openshift.common.service_type }}-master-api
+ backup: true
when: openshift.master.ha is defined and openshift.master.ha | bool and openshift_master_cluster_method == "native"
notify:
- restart master api
@@ -50,6 +51,7 @@
template:
src: "{{ ha_svc_template_path }}/atomic-openshift-master-controllers.j2"
dest: /etc/sysconfig/{{ openshift.common.service_type }}-master-controllers
+ backup: true
when: openshift.master.ha is defined and openshift.master.ha | bool and openshift_master_cluster_method == "native"
notify:
- restart master controllers
@@ -65,5 +67,6 @@
template:
src: "atomic-openshift-master.j2"
dest: /etc/sysconfig/{{ openshift.common.service_type }}-master
+ backup: true
notify:
- restart master