Bertrand Lanson
2873cd9e4c
Some checks failed
test / Linting (push) Successful in 32s
test / Molecule tests (default, debian12) (push) Successful in 2m27s
test / Molecule tests (default, ubuntu2004) (push) Successful in 2m29s
test / Molecule tests (with_custom_config, debian12) (push) Successful in 1m19s
test / Molecule tests (with_custom_config, ubuntu2004) (push) Successful in 1m25s
test / Molecule tests (with_custom_config, debian11) (push) Successful in 1m25s
test / Molecule tests (default, ubuntu2204) (push) Successful in 1m41s
test / Molecule tests (with_custom_config, ubuntu2204) (push) Successful in 1m19s
test / Molecule tests (default, debian11) (push) Failing after 45s
23 lines
561 B
YAML
23 lines
561 B
YAML
---
|
|
# handlers file for renew_consul_certificates
|
|
- name: "Reload service file"
|
|
ansible.builtin.systemd:
|
|
daemon_reload: true
|
|
become: true
|
|
listen: "systemctl-daemon-reload"
|
|
|
|
- name: "Enable consul-certs service"
|
|
ansible.builtin.service:
|
|
name: consul-certs
|
|
enabled: true
|
|
become: true
|
|
listen: "systemctl-enable-consul-certs"
|
|
|
|
- name: "Start consul-certs service"
|
|
ansible.builtin.service:
|
|
name: consul-certs
|
|
state: restarted
|
|
become: true
|
|
listen: "systemctl-restart-consul-certs"
|
|
when: renew_consul_certificates_start_service
|