Allow to wait longer for unresponsive hosts

This commit is contained in:
phil 2023-12-02 09:22:32 +01:00
parent be1cf37ca3
commit c7896338ed
2 changed files with 2 additions and 1 deletions

View file

@ -23,6 +23,7 @@
command: "borgmatic init -e {{ borg_repo_key }} {{ borgmatic_init_options | default([]) }}" command: "borgmatic init -e {{ borg_repo_key }} {{ borgmatic_init_options | default([]) }}"
responses: responses:
^.*want to continue connecting.*$: "yes" ^.*want to continue connecting.*$: "yes"
timeout: 120
- name: "Borg | Create key export directory" - name: "Borg | Create key export directory"
ansible.builtin.file: ansible.builtin.file:

View file

@ -4,7 +4,7 @@
set -eu set -eu
LOGFILE=/var/log/borg 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 PROM_FILE=$TEXTFILE_COLLECTOR_DIR/backup.prom
TMP_FILE=$PROM_FILE.$$ TMP_FILE=$PROM_FILE.$$
HOSTNAME=$(hostname) HOSTNAME=$(hostname)