hack to remove encryption_pass from borgmatic conf

This commit is contained in:
Arya 2024-01-06 23:32:18 +05:30
parent 6498b89732
commit 7719d7f479
Signed by: arya
GPG Key ID: 842D12BDA50DF120
3 changed files with 11 additions and 5 deletions

View File

@ -182,6 +182,12 @@
validate: "/usr/sbin/sshd -T -f %s"
notify:
- Restart sshd
- name: Remove useless passphrase line
ansible.builtin.lineinfile:
dest: "/etc/borgmatic/config.yaml"
state: "absent"
regexp: "^.*encryption_passphrase"
handlers:
- name: Restart sshd
ansible.builtin.service:

View File

@ -1,10 +1,10 @@
- name: test
- name: Docker
hosts: in2
vars_files:
- ./vars.yaml
tasks:
- name: Deploy stack role
include_role:
ansible.builtin.include_role:
name: docker
vars:
app: "{{ item.value }}"

View File

@ -95,7 +95,7 @@ apps:
INTEGRATIONS_ALLOW_PRIVATE_IPS: False
#MATRIX_ACCESS_TOKEN: {{healthchecks_matrix_access_token}}
MATRIX_HOMESERVER: https://matrix.envs.net
MATRIX_USER_ID: @psf-bot:envs.net
MATRIX_USER_ID: "@psf-bot:envs.net"
PING_BODY_LIMIT: 10000
PING_EMAIL_DOMAIN: healthchecks.projectsegfau.lt
PING_ENDPOINT: https://healthchecks.projectsegfau.lt/ping/
@ -175,7 +175,7 @@ apps:
ports:
- "3170:3000"
mounts:
{{data_dir}}/grafana/grafdata:/var/lib/grafana
- "{{data_dir}}/grafana/grafdata:/var/lib/grafana"
environment:
GF_SERVER_ROOT_URL: "https://grafana.vpn.projectsegfau.lt"
- name: prometheus