Merge pull request ' Add forward discord.netz39.de to discord invite link' (!148) from discord-invite into master

Reviewed-on: https://gitea.n39.eu/Netz39_Admin/netz39-infra-ansible/pulls/148
Reviewed-by: dkdent <dkdent@netz39.de>
This commit is contained in:
Stefan Haun 2023-05-02 13:59:32 +02:00
commit b25d6eff5e

View file

@ -16,6 +16,8 @@
# with backwards compatibility within the same tag!
dokuwiki_image: "bitnami/dokuwiki:20220731@sha256:989ab52cf2d2e0f84166e114ca4ce88f59546b8f6d34958905f8d81c18cbd759"
discord_invite_domain: discord.netz39.de
roles:
# role 'docker_setup' applied through group 'docker_host'
- role: apache
@ -45,6 +47,8 @@
deploy_challenge_hook: "/bin/systemctl restart apache2"
- name: "{{ dokuwiki_domain }}"
deploy_challenge_hook: "/bin/systemctl restart apache2"
- name: "{{ discord_invite_domain }}"
deploy_challenge_hook: "/bin/systemctl restart apache2"
- name: Setup proxy site testredmine.netz39.de
include_role:
@ -172,3 +176,12 @@
- "53:53/udp"
env:
TZ: "{{ timezone }}"
- name: Setup forwarding for Discord invite
include_role:
name: setup-http-site-forward
vars:
site_name: "{{ discord_invite_domain }}"
# forward_to: "https://discord.com/invite/8FcDvAf"
forward_to: "https://sl.n39.eu/discord"