diff --git a/inventory/hosts.yml b/inventory/hosts.yml index 4803701..b0f8f06 100644 --- a/inventory/hosts.yml +++ b/inventory/hosts.yml @@ -4,4 +4,4 @@ all: hosts: max: ansible_user: root - ansible_host: max.lan + ansible_host: max.dmz diff --git a/roles/borg/templates/backup.yml.j2 b/roles/borg/templates/backup.yml.j2 index 1e7a9a1..4f5013f 100644 --- a/roles/borg/templates/backup.yml.j2 +++ b/roles/borg/templates/backup.yml.j2 @@ -2,7 +2,7 @@ location: source_directories: - {{ base_data_dir }} repositories: - - ssh://root@lewis.lan/{{ backup_location }} + - ssh://root@lewis.dmz/{{ backup_location }} retention: keep_daily: 7 keep_weekly: 4 diff --git a/roles/common/tasks/main.yml b/roles/common/tasks/main.yml index 4639a90..bb8292d 100644 --- a/roles/common/tasks/main.yml +++ b/roles/common/tasks/main.yml @@ -21,6 +21,6 @@ follow: true - name: Add dataserver to known hosts known_hosts: - name: "lewis.lan" - key: "lewis.lan ssh-ed25519 {{ dataserver_public_key }}" + name: "lewis.dmz" + key: "lewis.dmz ssh-ed25519 {{ dataserver_public_key }}" state: present diff --git a/roles/traefik/templates/docker-compose.yml.j2 b/roles/traefik/templates/docker-compose.yml.j2 index 36c32b8..9b18732 100644 --- a/roles/traefik/templates/docker-compose.yml.j2 +++ b/roles/traefik/templates/docker-compose.yml.j2 @@ -30,6 +30,6 @@ services: - traefik.http.routers.esrom.tls=true - traefik.http.routers.esrom.tls.certresolver=letsencrypt - - traefik.http.routers.traefik.rule=Host(`max.lan`) + - traefik.http.routers.traefik.rule=Host(`max.dmz`) - traefik.http.routers.traefik.entrypoints=internal - traefik.http.routers.traefik.service=api@internal diff --git a/roles/watchtower/files/docker-compose.yml b/roles/watchtower/files/docker-compose.yml index 28f892e..6811cf2 100644 --- a/roles/watchtower/files/docker-compose.yml +++ b/roles/watchtower/files/docker-compose.yml @@ -4,5 +4,5 @@ services: image: containrrr/watchtower volumes: - /var/run/docker.sock:/var/run/docker.sock - command: --schedule "0 0 4 * * *" --include-restarting --cleanup --include-stopped --no-startup-message + command: --schedule "0 0 4 * * *" --cleanup --include-stopped --no-startup-message restart: always