mirror of
https://github.com/FAUSheppy/no-secrets-athq-ansible
synced 2025-12-09 18:08:32 +01:00
feat: more oidc oauth2proxy
This commit is contained in:
2
roles/web1/meta/main.yml
Normal file
2
roles/web1/meta/main.yml
Normal file
@@ -0,0 +1,2 @@
|
||||
dependencies:
|
||||
- global-handlers
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user