mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-05-20 15:27:56 -02:30
use rsync instead of command
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user