small syntax fixes

This commit is contained in:
Arya 2024-01-08 11:58:59 +05:30
parent 4b35a8e932
commit a8c3ccbf83
Signed by: arya
GPG Key ID: 842D12BDA50DF120
3 changed files with 8 additions and 11 deletions

View File

@ -166,7 +166,7 @@
state: "present"
regexp: "^%sudo"
line: "%sudo ALL=(ALL) NOPASSWD: ALL"
- name: Sshd configuration file update
- name: "Sshd configuration file update"
ansible.builtin.template:
src: templates/sshd_config.j2
dest: /etc/ssh/sshd_config
@ -177,7 +177,7 @@
validate: "/usr/sbin/sshd -T -f %s"
notify:
- Restart sshd
- name: Remove useless passphrase line
- name: "Remove useless passphrase line (runs after borgmatic role)"
ansible.builtin.lineinfile:
dest: "/etc/borgmatic/config.yaml"
state: "absent"

View File

@ -3,9 +3,6 @@
vars_files:
- ./vars.yaml
tasks:
- name: Debug apps.groups
debug:
msg: "{{ apps.groups }}"
- name: Deploy stack role
ansible.builtin.include_role:
name: gi-yt.docker_compose_declarative

View File

@ -133,7 +133,7 @@ apps:
ports:
- "2069:3000"
environment:
#CMD_DB_URL: postgres://hedgedoc:{{hedgedoc_db_pass}}@{{common_postgres_ip}}/hedgedoc
# CMD_DB_URL: postgres://hedgedoc:{{hedgedoc_db_pass}}@{{common_postgres_ip}}/hedgedoc
CMD_DOMAIN: doc.projectsegfau.lt
CMD_PROTOCOL_USESSL: true
TZ: UTC
@ -146,11 +146,11 @@ apps:
CMD_REQUIRE_FREEURL_AUTHENTICATION: false
CMD_ALLOW_EMAIL_REGISTER: true
CMD_PORT: 3000
#CMD_SESSION_SECRET: "{{hedgedoc_session_secret}}"
# CMD_SESSION_SECRET: "{{hedgedoc_session_secret}}"
CMD_CSP_ENABLE: true
CMD_OAUTH2_PROVIDERNAME: "authentik"
#CMD_OAUTH2_CLIENT_ID: "{{hedgedoc_authentik_client_id}}"
#CMD_OAUTH2_CLIENT_SECRET: "{{hedgedoc_authentik_client_secret}}"
# CMD_OAUTH2_CLIENT_ID: "{{hedgedoc_authentik_client_id}}"
# CMD_OAUTH2_CLIENT_SECRET: "{{hedgedoc_authentik_client_secret}}"
CMD_OAUTH2_SCOPE: "openid email profile"
CMD_OAUTH2_USER_PROFILE_URL: "https://auth.p.projectsegfau.lt/application/o/userinfo/"
CMD_OAUTH2_TOKEN_URL: "https://auth.p.projectsegfau.lt/application/o/token/"
@ -169,7 +169,7 @@ apps:
ports:
- "1337:3000"
environment:
#GHOST_API_KEY: "{{website_ghost_api_key}}"
# GHOST_API_KEY: "{{website_ghost_api_key}}"
GHOST_URL: https://blog.projectsegfau.lt
KUMA_URL: https://st.psf.lt/api/status-page/projectsegfault
ADDRESS_HEADER: X-Forwarded-For
@ -178,7 +178,7 @@ apps:
ports:
- "1339:3000"
environment:
#GHOST_API_KEY: "{{website_ghost_api_key}}"
# GHOST_API_KEY: "{{website_ghost_api_key}}"
GHOST_URL: https://blog.projectsegfau.lt
KUMA_URL: https://st.psf.lt/api/status-page/projectsegfault
ADDRESS_HEADER: X-Forwarded-For