use rsync instead of command

This commit is contained in:
Smaine Kahlouch
2016-01-23 18:26:07 +01:00
parent 87d8d87c6e
commit 4984b57aa2
8 changed files with 47 additions and 20 deletions

View File

@@ -5,8 +5,7 @@
dest: /lib/systemd/system/etcd.service
backup: yes
when: init_system == "systemd"
notify:
- restart systemd-etcd
notify: restart systemd-etcd
- name: Configure | Write calico-node initd script
template:
@@ -24,4 +23,7 @@
notify: restart etcd
- name: Configure | Ensure etcd is running
service: name=etcd state=started enabled=yes
service:
name: etcd
state: started
enabled: yes