Files

17 lines
314 B
YAML
Raw Permalink Normal View History

2025-11-17 14:19:38 +03:00
---
- name: Install Keepalived
apt:
name: keepalived
state: present
- name: Configure Keepalived
template:
src: keepalived.conf.j2
dest: /etc/keepalived/keepalived.conf
mode: '0644'
- name: Enable and start Keepalived
systemd:
name: keepalived
enabled: yes
state: restarted