Basic keepalived Ansible-Playbook
This commit is contained in:
24
inventory/hosts.ini
Normal file
24
inventory/hosts.ini
Normal 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
|
||||
Reference in New Issue
Block a user