hack to remove encryption_pass from borgmatic conf
This commit is contained in:
parent
6498b89732
commit
7719d7f479
@ -182,6 +182,12 @@
|
|||||||
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
|
||||||
|
ansible.builtin.lineinfile:
|
||||||
|
dest: "/etc/borgmatic/config.yaml"
|
||||||
|
state: "absent"
|
||||||
|
regexp: "^.*encryption_passphrase"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- name: Restart sshd
|
- name: Restart sshd
|
||||||
ansible.builtin.service:
|
ansible.builtin.service:
|
||||||
|
@ -1,17 +1,17 @@
|
|||||||
- name: test
|
- name: Docker
|
||||||
hosts: in2
|
hosts: in2
|
||||||
vars_files:
|
vars_files:
|
||||||
- ./vars.yaml
|
- ./vars.yaml
|
||||||
tasks:
|
tasks:
|
||||||
- name: Deploy stack role
|
- name: Deploy stack role
|
||||||
include_role:
|
ansible.builtin.include_role:
|
||||||
name: docker
|
name: docker
|
||||||
vars:
|
vars:
|
||||||
app: "{{ item.value }}"
|
app: "{{ item.value }}"
|
||||||
app_name: "{{ item.key | lower }}"
|
app_name: "{{ item.key | lower }}"
|
||||||
default_restart_policy: unless-stopped
|
default_restart_policy: unless-stopped
|
||||||
configs_dir: "/opt/configs"
|
configs_dir: "/opt/configs"
|
||||||
configs_dir_local: "./configs/{{item.key}}"
|
configs_dir_local: "./configs/{{ item.key }}"
|
||||||
compose_dir: "/opt/docker"
|
compose_dir: "/opt/docker"
|
||||||
data_dir: "/opt/docker"
|
data_dir: "/opt/docker"
|
||||||
loop: "{{ apps.groups | dict2items }}"
|
loop: "{{ apps.groups | dict2items }}"
|
||||||
|
@ -95,7 +95,7 @@ apps:
|
|||||||
INTEGRATIONS_ALLOW_PRIVATE_IPS: False
|
INTEGRATIONS_ALLOW_PRIVATE_IPS: False
|
||||||
#MATRIX_ACCESS_TOKEN: {{healthchecks_matrix_access_token}}
|
#MATRIX_ACCESS_TOKEN: {{healthchecks_matrix_access_token}}
|
||||||
MATRIX_HOMESERVER: https://matrix.envs.net
|
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_BODY_LIMIT: 10000
|
||||||
PING_EMAIL_DOMAIN: healthchecks.projectsegfau.lt
|
PING_EMAIL_DOMAIN: healthchecks.projectsegfau.lt
|
||||||
PING_ENDPOINT: https://healthchecks.projectsegfau.lt/ping/
|
PING_ENDPOINT: https://healthchecks.projectsegfau.lt/ping/
|
||||||
@ -175,7 +175,7 @@ apps:
|
|||||||
ports:
|
ports:
|
||||||
- "3170:3000"
|
- "3170:3000"
|
||||||
mounts:
|
mounts:
|
||||||
{{data_dir}}/grafana/grafdata:/var/lib/grafana
|
- "{{data_dir}}/grafana/grafdata:/var/lib/grafana"
|
||||||
environment:
|
environment:
|
||||||
GF_SERVER_ROOT_URL: "https://grafana.vpn.projectsegfau.lt"
|
GF_SERVER_ROOT_URL: "https://grafana.vpn.projectsegfau.lt"
|
||||||
- name: prometheus
|
- name: prometheus
|
||||||
|
Loading…
Reference in New Issue
Block a user