Initial commit: VM Creation done

This commit is contained in:
Lino Silva
2026-03-30 10:54:16 +01:00
commit 97e7d65f42
27 changed files with 474 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
---
- name: Install keepalived
apt:
name: keepalived
state: present
update_cache: yes
- name: Create keepalived config
template:
src: keepalived.conf.j2
dest: /etc/keepalived/keepalived.conf
mode: '0644'
notify: restart keepalived
- name: Enable and start keepalived
systemd:
name: keepalived
enabled: yes
state: started