mirror of
https://github.com/KevinMidboe/schleppe-ha-project.git
synced 2026-02-12 10:39:07 +00:00
ansible plays for docker, haproxy & varnish
This commit is contained in:
6
ansible/group_vars/CD.yml
Normal file
6
ansible/group_vars/CD.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
# CI specific vars
|
||||
|
||||
users:
|
||||
- root
|
||||
ssh_keys_users: ['drone']
|
||||
11
ansible/group_vars/all.yml
Normal file
11
ansible/group_vars/all.yml
Normal 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
|
||||
5
ansible/group_vars/consul-server.yml
Normal file
5
ansible/group_vars/consul-server.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
# Consul server specific
|
||||
consul_is_server: true
|
||||
consul_is_ui: true
|
||||
consul_bootstrap_expect: 1
|
||||
17
ansible/group_vars/datacenter.yml
Normal file
17
ansible/group_vars/datacenter.yml
Normal 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
|
||||
|
||||
12
ansible/group_vars/haproxy.yml
Normal file
12
ansible/group_vars/haproxy.yml
Normal 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"
|
||||
6
ansible/group_vars/macos.yml
Normal file
6
ansible/group_vars/macos.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
# python path
|
||||
ansible_python_interpreter: /usr/local/bin/python3
|
||||
|
||||
users:
|
||||
- kevin
|
||||
6
ansible/group_vars/minecraft.yml
Normal file
6
ansible/group_vars/minecraft.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
apt_packages:
|
||||
- git
|
||||
- build-essential
|
||||
- openjdk-21-jdk
|
||||
minecraft_version: 1.20.6
|
||||
2
ansible/group_vars/proxmox-vm.yml
Normal file
2
ansible/group_vars/proxmox-vm.yml
Normal file
@@ -0,0 +1,2 @@
|
||||
---
|
||||
proxmox_install_qemu_guest_agent: true
|
||||
2
ansible/group_vars/vinlottis-vm.yml
Normal file
2
ansible/group_vars/vinlottis-vm.yml
Normal file
@@ -0,0 +1,2 @@
|
||||
---
|
||||
ssh_keys_users: ['kevin', 'kasper']
|
||||
Reference in New Issue
Block a user