diff --git a/roles/docker/templates/compose-files/restic.yml.j2 b/roles/docker/templates/compose-files/restic.yml.j2 index 89027a3..b95a009 100644 --- a/roles/docker/templates/compose-files/restic.yml.j2 +++ b/roles/docker/templates/compose-files/restic.yml.j2 @@ -5,6 +5,8 @@ services: backup: image: mazzolino/restic:{{ services.restic.version }} restart: always + hostname: {{ inventory_hostname_short }} + domainname: {{ inventory_hostname }} environment: RUN_ON_STARTUP: false BACKUP_CRON: "0 30 3 * * *"