2023-04-16 20:26:14 +00:00
|
|
|
---
|
|
|
|
# handlers file for renew_vault_certificates
|
2023-04-17 20:45:59 +00:00
|
|
|
- name: "Reload service file"
|
|
|
|
ansible.builtin.systemd:
|
|
|
|
daemon_reload: true
|
|
|
|
listen: "systemctl-daemon-reload"
|
|
|
|
|
|
|
|
- name: "Enable vault-certs service"
|
|
|
|
ansible.builtin.service:
|
|
|
|
name: vault-certs
|
|
|
|
enabled: true
|
|
|
|
listen: "systemctl-enable-vault-certs"
|
|
|
|
|
|
|
|
- name: "Start vault-certs service"
|
|
|
|
ansible.builtin.service:
|
|
|
|
name: vault-certs
|
|
|
|
state: restarted
|
|
|
|
listen: "systemctl-restart-vault-certs"
|
|
|
|
when: renew_vault_certificates_start_service
|