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

View File

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

View File

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