Add Backup

This commit is contained in:
ant31
2015-11-20 11:18:37 +01:00
parent 57e1831f78
commit c352df6fc8
12 changed files with 31 additions and 29 deletions

View File

@@ -3,7 +3,7 @@
user: name=etcd shell=/bin/nologin home=/var/lib/etcd2
- name: Install etcd binaries
copy:
copy:
src={{ local_release_dir }}/etcd/bin/{{ item }}
dest={{ bin_dir }}
owner=etcd
@@ -21,4 +21,5 @@
template:
src: systemd-etcd2.service.j2
dest: /lib/systemd/system/etcd2.service
backup: yes
notify: restart daemons