feat: HA ingress with keepalived and traefik

This commit is contained in:
Lino Silva
2026-03-30 21:53:19 +01:00
parent 97e7d65f42
commit 82a433fc26
5 changed files with 14 additions and 9 deletions
+1 -2
View File
@@ -7,11 +7,10 @@ proxmox_node: "pve"
template_name: "debian-13-cloudinit"
ansible_user: root
ansible_python_interpreter: /opt/homebrew/bin/python3
docker_packages:
- docker.io
- docker-compose-plugin
- docker-compose
# Traefik configuration
domain: "example.com" # Change to your domain
+1
View File
@@ -2,6 +2,7 @@ all:
hosts:
localhost:
ansible_connection: local
ansible_python_interpreter: /opt/homebrew/bin/python3
children:
edge:
hosts:
+3 -7
View File
@@ -10,11 +10,7 @@
- vim
- curl
- git
- software-properties-common
- apt-transport-https
- ca-certificates
- gnupg
state: present
- name: Ensure user is in docker group
ansible.builtin.user:
name: "{{ ansible_user }}"
groups: docker
append: yes
+6
View File
@@ -9,3 +9,9 @@
name: docker
state: started
enabled: yes
- name: Add user to docker group
ansible.builtin.user:
name: "{{ ansible_user }}"
groups: docker
append: yes
@@ -1,6 +1,7 @@
api:
dashboard: true
debug: true
insecure: true
entryPoints:
http:
@@ -12,6 +13,8 @@ entryPoints:
scheme: https
https:
address: ":443"
traefik:
address: ":8080"
serversTransport:
insecureSkipVerify: true