Create spaceapi.n39.eu site on pottwal

This commit is contained in:
Stefan Haun 2023-07-02 16:31:38 +02:00
parent 8d66952c49
commit ed29dc7221

View file

@ -24,6 +24,7 @@
- name: uptime.n39.eu
- name: "{{ grafana_domain_name }}"
- name: "{{ homebox_domain_name }}"
- name: spaceapi.n39.eu
- role: penguineer.dehydrated_cron
- role: dd24_dyndns_cron
# variables are set in the inventory
@ -513,9 +514,27 @@
proxy_port: "{{ homebox_host_port }}"
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:
- name: Restart prosody
community.docker.docker_container:
name: prosody
state: started
restart: yes
- name: Restart apache2
service:
name: apache2
state: restarted