This commit is contained in:
@@ -2,6 +2,14 @@
|
||||
k3s_version: v1.22.3+k3s1
|
||||
ansible_user: root
|
||||
systemd_dir: /etc/systemd/system
|
||||
systemd_network_dir: /etc/systemd/network
|
||||
master_ip: "{{ hostvars[groups['serverctl_master_hosts'][0]]['ansible_host'] | default(groups['serverctl_master_hosts'][0]) }}"
|
||||
extra_server_args: ""
|
||||
extra_agent_args: ""
|
||||
|
||||
ansible_become_method: su
|
||||
|
||||
ufw_enabled: true
|
||||
|
||||
wireguard_mask_bits: 24
|
||||
wireguard_port: 51871
|
18
infrastructure/create-resources/ansible/inventory/hosts.cfg
Executable file
18
infrastructure/create-resources/ansible/inventory/hosts.cfg
Executable file
@@ -0,0 +1,18 @@
|
||||
[serverctl_master_hosts]
|
||||
|
||||
[serverctl_node_hosts]
|
||||
|
||||
[serverctl_mesh_nodes]
|
||||
65.21.50.146 ansible_host=65.21.50.146 wireguard_ip=192.168.0.1
|
||||
65.21.251.3 ansible_host=65.21.251.3 wireguard_ip=192.168.0.2
|
||||
65.21.255.102 ansible_host=65.21.255.102 wireguard_ip=192.168.0.3
|
||||
95.216.162.16 ansible_host=95.216.162.16 wireguard_ip=192.168.0.4
|
||||
|
||||
[serverctl_mesh_nodes:vars]
|
||||
pipelining=true
|
||||
ansible_ssh_user=root
|
||||
ansible_ssh_port=22
|
||||
|
||||
[serverctl_cluster:children]
|
||||
serverctl_master_hosts
|
||||
serverctl_node_hosts
|
Reference in New Issue
Block a user