authelia: use host_vars
change wnmtlwuqxuqutkusuyqmupksnxuzwrko
commit a108d8e21f5fed967805df98d0000efbee0885d7
author Alpha Chen <alpha@kejadlen.dev>
date
parent rvxrzymn
diff --git a/lotus-land-story/authelia.yml b/lotus-land-story/authelia.yml
index d3a6f40..cb7c934 100644
--- a/lotus-land-story/authelia.yml
+++ b/lotus-land-story/authelia.yml
@@ -2,8 +2,6 @@
   hosts: lotus-land-story
   vars:
     version: 4.39.19
-  vars_files:
-    - vars.yml
   tasks:
 
     - name: Create directories for volume mounting
diff --git a/lotus-land-story/templates/authelia_configuration.yml b/lotus-land-story/templates/authelia_configuration.yml
index dde3eb6..af5050a 100644
--- a/lotus-land-story/templates/authelia_configuration.yml
+++ b/lotus-land-story/templates/authelia_configuration.yml
@@ -35,9 +35,9 @@ identity_validation:
 session:
   secret: {{ authelia.session_secret }}
   cookies:
-    - domain: {{ domain }}
-      authelia_url: https://auth.{{ domain }}
-      # default_redirection_url: https://www.{{ domain }}
+    - domain: kejadlen.dev
+      authelia_url: https://auth.kejadlen.dev
+      # default_redirection_url: https://www.kejadlen.dev
     - domain: chislan.family
       authelia_url: https://auth.chislan.family
 
@@ -80,7 +80,7 @@ identity_providers:
         client_secret: $argon2id$v=19$m=65536,t=3,p=4$bMcI49gLNfk6ovxXbg9jFQ$qE/G5lDzkFebKopyGv1FOqkiA64HhRJ9kq+TJCR0HM0
         public: false
         redirect_uris:
-          - https://git.{{ domain }}/user/oauth2/authelia/callback
+          - https://git.kejadlen.dev/user/oauth2/authelia/callback
         scopes:
           - openid
           - email