ansible plays for docker, haproxy & varnish

This commit is contained in:
2025-12-28 21:38:13 +01:00
parent c2a04735a4
commit ec0eb23acd
58 changed files with 815 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
---
# CI specific vars
users:
- root
ssh_keys_users: ['drone']

View File

@@ -0,0 +1,11 @@
---
# Specific variables for all group
ansible_python_interpreter: '/usr/bin/python3'
ssh_skip_ssh_config: true
users:
- username: kevin
oh_my_zsh:
theme: robbyrussell
- username: root
oh_my_zsh:
theme: robbyrussell

View File

@@ -0,0 +1,5 @@
---
# Consul server specific
consul_is_server: true
consul_is_ui: true
consul_bootstrap_expect: 1

View File

@@ -0,0 +1,17 @@
---
# dns_domain: "schleppe"
dns_nameservers:
- "1.1.1.1"
- "2606:4700:4700::1111"
- "2606:4700:4700::1001"
default_user: "kevin"
# Consul cluster
consul_datacenter: "schleppe"
consul_servers:
- "10.0.0.140"
- "10.0.0.141"
- "10.0.0.142"
consul_install_dnsmasq: false

View File

@@ -0,0 +1,12 @@
haproxy_traefik_ip:
- "10.24.1.1"
- "10.25.0.4"
haproxy_traefik_port: 80
haproxy_cookie_value: "{{ inventory_hostname | default('server-1') }}"
haproxy_dynamic_cookie_key: "mysecretphrase"
haproxy_stats_auth: "admin:strongpassword"
haproxy_certs_dir: "/etc/haproxy/certs"
certbot_cloudflare_secrets_dir: "/root/.secrets/certbot"
certbot_cloudflare_ini_path: "/root/.secrets/certbot/cloudflare.ini"
certbot_cloudflare_api_token: "REPLACE_WITH_REAL_TOKEN"

View File

@@ -0,0 +1,6 @@
---
# python path
ansible_python_interpreter: /usr/local/bin/python3
users:
- kevin

View File

@@ -0,0 +1,6 @@
---
apt_packages:
- git
- build-essential
- openjdk-21-jdk
minecraft_version: 1.20.6

View File

@@ -0,0 +1,2 @@
---
proxmox_install_qemu_guest_agent: true

View File

@@ -0,0 +1,2 @@
---
ssh_keys_users: ['kevin', 'kasper']