Compare commits

...

3 commits

Author SHA1 Message Date
bb2a5b1c2c dd 2024-11-10 12:07:25 +01:00
f1b4ec320d dd 2024-11-10 12:07:20 +01:00
2e65b0cdc9 ff 2024-11-10 12:05:12 +01:00
3 changed files with 4 additions and 7 deletions

View file

@ -7,10 +7,7 @@ log:
identity_validation: identity_validation:
reset_password: reset_password:
jwt_secret: "{{ lookup('viczem.keepass.keepass', 'authelia_jwt_secret', 'password') }}" jwt_secret: {{ lookup('viczem.keepass.keepass', 'authelia_jwt_secret', 'password') }}
authelia_jwt_secret
totp: totp:
issuer: totp.mgrote.net issuer: totp.mgrote.net
@ -24,7 +21,7 @@ access_control:
session: session:
name: authelia_session name: authelia_session
secret: unsecure_session_secret secret: {{ lookup('viczem.keepass.keepass', 'authelia_session_secret', 'password') }}
expiration: 3600 # 1 hour expiration: 3600 # 1 hour
inactivity: 300 # 5 minutes inactivity: 300 # 5 minutes
domain: mgrote.net # Should match whatever your root protected domain is domain: mgrote.net # Should match whatever your root protected domain is
@ -39,7 +36,7 @@ regulation:
ban_time: 300 ban_time: 300
storage: storage:
encryption_key: "{{ lookup('viczem.keepass.keepass', 'authelia_storage_encryption_key', 'password') }}" encryption_key: {{ lookup('viczem.keepass.keepass', 'authelia_storage_encryption_key', 'password') }}
local: local:
path: /data/db.sqlite3 path: /data/db.sqlite3

Binary file not shown.

View file

@ -36,7 +36,7 @@
src: "{{ item }}" src: "{{ item }}"
dest: "{{ compose_dest_basedir }}/{{ item | replace(compose_src_basedir + '/', '') | replace('.j2', '') }}" dest: "{{ compose_dest_basedir }}/{{ item | replace(compose_src_basedir + '/', '') | replace('.j2', '') }}"
with_items: "{{ lookup('pipe', 'find '+ compose_src_basedir +'/ -type f -name *.j2').split('\n') }}" with_items: "{{ lookup('pipe', 'find '+ compose_src_basedir +'/ -type f -name *.j2').split('\n') }}"
# no_log: true no_log: true
register: copy_template register: copy_template
- name: Ensure needed networks exists - name: Ensure needed networks exists