diff --git a/all/playbook.yaml b/all/playbook.yaml index 71a78fa..37f0950 100644 --- a/all/playbook.yaml +++ b/all/playbook.yaml @@ -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: diff --git a/in-node/playbook.yaml b/in-node/playbook.yaml index 436236b..a00b1f1 100644 --- a/in-node/playbook.yaml +++ b/in-node/playbook.yaml @@ -1,17 +1,17 @@ -- 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 }}" app_name: "{{ item.key | lower }}" default_restart_policy: unless-stopped configs_dir: "/opt/configs" - configs_dir_local: "./configs/{{item.key}}" + configs_dir_local: "./configs/{{ item.key }}" compose_dir: "/opt/docker" data_dir: "/opt/docker" loop: "{{ apps.groups | dict2items }}" diff --git a/in-node/vars.yaml b/in-node/vars.yaml index 0753358..fa9e9aa 100644 --- a/in-node/vars.yaml +++ b/in-node/vars.yaml @@ -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