Rename systemd module to systemd_service (#11396)

Signed-off-by: tu1h <lihai.tu@daocloud.io>
This commit is contained in:
Lihai Tu
2024-07-26 16:11:39 +08:00
committed by GitHub
parent 2d194af85e
commit 8208a3f04f
18 changed files with 20 additions and 20 deletions

View File

@@ -17,7 +17,7 @@
when: etcd_snapshot is defined
- name: Stop etcd
systemd:
systemd_service:
name: etcd
state: stopped
@@ -54,6 +54,6 @@
replace: '\1{{ etcd_member_name }}={{ etcd_peer_url }}'
- name: Start etcd
systemd:
systemd_service:
name: etcd
state: started