change hostnames

This commit is contained in:
Pim Kunis 2023-03-14 22:44:41 +01:00
parent bb2a4ecbcc
commit c65dc64aaa
5 changed files with 6 additions and 6 deletions

View file

@ -4,4 +4,4 @@ all:
hosts:
max:
ansible_user: root
ansible_host: max.lan
ansible_host: max.dmz

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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