forked from githubixx/ansible-role-etcd
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SRE-880 Restart etcd on certificate change
Etcd does not automatically pickup changes to CA certificates. This commits adds an automatic restart step on certificate change. See etcd-io/etcd#11555 for context. Signed-off-by: Jean-Tiare Le Bigot <[email protected]>
- Loading branch information
Showing
2 changed files
with
8 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,10 @@ | ||
--- | ||
- name: restart etcd | ||
ansible.builtin.systemd_service: | ||
daemon_reload: true | ||
name: etcd | ||
state: restarted | ||
|
||
- name: reload systemd | ||
systemd: | ||
daemon_reload: yes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters