Basic keepalived Ansible-Playbook

This commit is contained in:
janic
2021-12-17 16:07:30 +01:00
parent 8408c3f9ca
commit d4b61bf31e
12 changed files with 205 additions and 3 deletions

24
inventory/hosts.ini Normal file
View File

@@ -0,0 +1,24 @@
# Groups
[keepalived:children]
master
backup
[keepalived:vars]
ansible_user=saansi-bot
keepalived_process_tracker=k3s-server
keepalived_nic=eth0
keepalived_auth_pass=password
keepalived_vip=172.22.0.100/22
keepalived_master_hostname=srvk3s01.voser.local
# Hosts
[master]
172.22.0.101
[backup]
172.22.0.102
172.22.0.103
172.22.0.104
172.22.0.121
172.22.0.122
172.22.0.123