mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-11-01 18:59:19 +00:00
Fix PeerTube OIDC plugin automation
- Store oidc_settings as proper YAML dict with correct keys - Ensure plugin is installed only if missing - Update DB settings as jsonb and enforce enabled/uninstalled state - Add CLI enforcement for plugin activation - Correct task conditions (enable/disable logic) with boolean filters Ref: https://chatgpt.com/share/68dd1d16-9b34-800f-b2bf-a3fe058f25b1
This commit is contained in:
@@ -15,8 +15,8 @@
|
||||
|
||||
- name: "Install and activate auth-openid-connect plugin if OIDC is enabled"
|
||||
include_tasks: 01_enable-oidc.yml
|
||||
when: PEERTUBE_OIDC_ENABLED
|
||||
when: PEERTUBE_OIDC_ENABLED | bool
|
||||
|
||||
- name: "Deinstall and disable auth-openid-connect plugin if OIDC is enabled"
|
||||
include_tasks: 02_disable-oidc.yml
|
||||
when: PEERTUBE_OIDC_ENABLED
|
||||
when: not PEERTUBE_OIDC_ENABLED | bool
|
||||
Reference in New Issue
Block a user