dc1_test #10
4
inventory/host_vars/dc1.yml
Normal file
4
inventory/host_vars/dc1.yml
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
web_hostname:
|
||||
- host: kck.test.mateu.be
|
||||
- host: vlt.test.mateu.be
|
6
playbooks/docker.yml
Normal file
6
playbooks/docker.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
|
||||
- name: Install docker
|
||||
hosts: dockerservers
|
||||
roles:
|
||||
- docker
|
@@ -10,5 +10,4 @@
|
||||
hosts: actrunnerservers
|
||||
diff: true
|
||||
roles:
|
||||
- docker
|
||||
- act_runner
|
||||
|
@@ -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
|
||||
|
@@ -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$
|
||||
|
||||
|
8
roles/nginx/templates/vhosts/kck.test.mateu.be.conf.j2
Normal file
8
roles/nginx/templates/vhosts/kck.test.mateu.be.conf.j2
Normal file
@@ -0,0 +1,8 @@
|
||||
server {
|
||||
{% include './templates/header.conf.j2' %}
|
||||
|
||||
location / {
|
||||
proxy_pass http://localhost:8080;
|
||||
}
|
||||
}
|
||||
|
8
roles/nginx/templates/vhosts/vlt.test.mateu.be.conf.j2
Normal file
8
roles/nginx/templates/vhosts/vlt.test.mateu.be.conf.j2
Normal file
@@ -0,0 +1,8 @@
|
||||
server {
|
||||
{% include './templates/header.conf.j2' %}
|
||||
|
||||
location / {
|
||||
proxy_pass http://localhost:8200;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user