feat: more oidc oauth2proxy

This commit is contained in:
2023-01-15 19:37:29 +01:00
parent 4fd118fde6
commit 38529a428e
5 changed files with 21 additions and 13 deletions

2
roles/web1/meta/main.yml Normal file
View File

@@ -0,0 +1,2 @@
dependencies:
- global-handlers

View File

@@ -83,15 +83,22 @@
- simple-log-server
- soundlib-interface
- name: Deploy OAuth2Proxy
community.docker.docker_compose:
project_src: /opt/oauth2proxy/{{ item }}/
pull: true
with_items:
- soundlib-interface
- name: Template Systemd Units
template:
src: "waitress-systemd-unit.j2"
dest: "/etc/systemd/system/{{ item.name }}.service"
with_items:
- { name : "image-factory", path : "/var/www/python-flask-picture-factory" }
- { name : "serien-ampel", path : "/var/www/serien-ampel" }
- { name : "simple-log-server", path : "/var/www/simple-log-server" }
- { name : "soundlib", path : "/var/www/soundlib-interface", external_oidc : true }
- { name : "image-factory", path : "/var/www/python-flask-picture-factory" }
- { name : "serien-ampel", path : "/var/www/serien-ampel" }
- { name : "simple-log-server", path : "/var/www/simple-log-server" }
- { name : "soundlib-interface", path : "/var/www/soundlib-interface", external_oidc : true }
notify:
- daemon reload
@@ -106,4 +113,4 @@
- image-factory
- serien-ampel
- simple-log-server
- soundlib
- soundlib-interface