dc1_test #10

Merged
clement.veret merged 3 commits from dc1_test into main 2025-07-16 23:03:22 +02:00
7 changed files with 29 additions and 2 deletions

View File

@@ -0,0 +1,4 @@
---
web_hostname:
- host: kck.test.mateu.be
- host: vlt.test.mateu.be

6
playbooks/docker.yml Normal file
View File

@@ -0,0 +1,6 @@
---
- name: Install docker
hosts: dockerservers
roles:
- docker

View File

@@ -10,5 +10,4 @@
hosts: actrunnerservers
diff: true
roles:
- docker
- act_runner

View File

@@ -54,6 +54,8 @@
import_playbook: peertube.yml
- name: Run elasticsearch playbook
import_playbook: elasticsearch.yml
- name: Run docker playbook
import_playbook: docker.yml
- name: Run gitea playbook
import_playbook: gitea.yml
- name: Run vaultwarden playbook

View File

@@ -41,7 +41,7 @@ host_name {{ ansible_host }}
# network notation unless the perl module Net::CIDR is installed. You
# may repeat the allow line as many times as you'd like
allow ^{{ hostvars['munin']['ansible_default_ipv4']['address'].split('.')|join('\.') }}
allow ^{{ hostvars['munin']['proxmox_net0']['ip'] | ansible.utils.ipaddr('address') | split('.') |join('\.') }}
allow ^127\.0\.0\.1$
allow ^::1$

View File

@@ -0,0 +1,8 @@
server {
{% include './templates/header.conf.j2' %}
location / {
proxy_pass http://localhost:8080;
}
}

View File

@@ -0,0 +1,8 @@
server {
{% include './templates/header.conf.j2' %}
location / {
proxy_pass http://localhost:8200;
}
}