ansible/roles/keepalived/handlers/main.yaml

13 lines
275 B
YAML
Raw Normal View History

2022-08-30 12:47:54 +00:00
---
- name: reload keepalived
service:
name: "{{ keepalived_service_name }}"
state: reloaded
when: keepalived_service_enabled
- name: restart keepalived
service:
name: "{{ keepalived_service_name }}"
state: restarted
when: keepalived_service_enabled