network: Write keepalived interface status to file
This commit is contained in:
parent
d6cc79dcb3
commit
043104f062
4 changed files with 60 additions and 1 deletions
|
@ -12,6 +12,13 @@
|
|||
- c
|
||||
- reload
|
||||
|
||||
- name: Refresh keepalived run directory
|
||||
ansible.builtin.command:
|
||||
argv:
|
||||
- systemd-tmpfiles
|
||||
- --create
|
||||
- /etc/tmpfiles.d/keepalived.conf
|
||||
|
||||
- name: Restart keepalived
|
||||
ansible.builtin.service:
|
||||
name: keepalived
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue