Create spaceapi.n39.eu site on pottwal
This commit is contained in:
parent
8d66952c49
commit
ed29dc7221
1 changed files with 19 additions and 0 deletions
|
@ -24,6 +24,7 @@
|
||||||
- name: uptime.n39.eu
|
- name: uptime.n39.eu
|
||||||
- name: "{{ grafana_domain_name }}"
|
- name: "{{ grafana_domain_name }}"
|
||||||
- name: "{{ homebox_domain_name }}"
|
- name: "{{ homebox_domain_name }}"
|
||||||
|
- name: spaceapi.n39.eu
|
||||||
- role: penguineer.dehydrated_cron
|
- role: penguineer.dehydrated_cron
|
||||||
- role: dd24_dyndns_cron
|
- role: dd24_dyndns_cron
|
||||||
# variables are set in the inventory
|
# variables are set in the inventory
|
||||||
|
@ -513,9 +514,27 @@
|
||||||
proxy_port: "{{ homebox_host_port }}"
|
proxy_port: "{{ homebox_host_port }}"
|
||||||
proxy_preserve_host: "On"
|
proxy_preserve_host: "On"
|
||||||
|
|
||||||
|
- name: Setup proxy site spaceapi.n39.eu
|
||||||
|
template:
|
||||||
|
src: templates/pottwal/spaceapi-apache-site.j2
|
||||||
|
dest: /etc/apache2/sites-available/spaceapi.n39.eu.conf
|
||||||
|
mode: "0644"
|
||||||
|
vars:
|
||||||
|
site_name: "spaceapi.n39.eu"
|
||||||
|
proxy_preserve_host: "On"
|
||||||
|
notify: Restart apache2
|
||||||
|
tags:
|
||||||
|
- dev
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- name: Restart prosody
|
- name: Restart prosody
|
||||||
community.docker.docker_container:
|
community.docker.docker_container:
|
||||||
name: prosody
|
name: prosody
|
||||||
state: started
|
state: started
|
||||||
restart: yes
|
restart: yes
|
||||||
|
|
||||||
|
- name: Restart apache2
|
||||||
|
service:
|
||||||
|
name: apache2
|
||||||
|
state: restarted
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue