diff --git a/host-pottwal.yml b/host-pottwal.yml index a09d591..e1f265f 100644 --- a/host-pottwal.yml +++ b/host-pottwal.yml @@ -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 +