diff --git a/tasks/borg.yml b/tasks/borg.yml index 9f9cd45..e239a42 100644 --- a/tasks/borg.yml +++ b/tasks/borg.yml @@ -23,6 +23,7 @@ command: "borgmatic init -e {{ borg_repo_key }} {{ borgmatic_init_options | default([]) }}" responses: ^.*want to continue connecting.*$: "yes" + timeout: 120 - name: "Borg | Create key export directory" ansible.builtin.file: diff --git a/templates/borg_exporter.j2 b/templates/borg_exporter.j2 index 04143b8..08e1bb5 100644 --- a/templates/borg_exporter.j2 +++ b/templates/borg_exporter.j2 @@ -4,7 +4,7 @@ set -eu LOGFILE=/var/log/borg -TEXTFILE_COLLECTOR_DIR=/var/lib/node_exporter +TEXTFILE_COLLECTOR_DIR=/var/lib/prometheus/node-exporter PROM_FILE=$TEXTFILE_COLLECTOR_DIR/backup.prom TMP_FILE=$PROM_FILE.$$ HOSTNAME=$(hostname)