Refactor Ansible Playbooks to add Docker-Portainer deployment

This commit is contained in:
2024-07-30 20:33:40 +08:00
parent 9741508af3
commit 6301da7603
54 changed files with 1273 additions and 0 deletions
@@ -0,0 +1,27 @@
os: "linux"
arch: "amd64"
talos_version: v1.7.0
talosctl_version: v1.7.5
control_plane_ip: 192.168.50.195
control_plane_2: 192.168.50.196
control_plane_3: 192.168.50.197
worker_1: 192.168.50.198
worker_2: 192.168.50.199
config_directory: "/home/{{ ansible_user }}/.talos"
config_file: "/home/{{ ansible_user }}/.talos/talosconfig"
kube_vip_version: "v0.8.0"
vip_interface: null
vip: 192.168.50.220
metallb_version: v0.13.12
lb_range: 192.168.50.240-192.168.50.250
lb_pool_name: first-pool
ansible_user: ubuntu
ansible_become: true
ansible_become_method: sudo
@@ -0,0 +1,13 @@
# Make sure Ansible host has access to these devices
# Good idea to snapshot all machines and deploy uing cloud-template
[ansible]
127.0.0.1 ansible_connection=local
[servers]
server1 ansible_host=192.168.50.195
server2 ansible_host=192.168.50.196
server3 ansible_host=192.168.50.197
[agents]
agent1 ansible_host=192.168.50.198
agent2 ansible_host=192.168.50.199