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: hosts:
max: max:
ansible_user: root ansible_user: root
ansible_host: max.lan ansible_host: max.dmz

View file

@ -2,7 +2,7 @@ location:
source_directories: source_directories:
- {{ base_data_dir }} - {{ base_data_dir }}
repositories: repositories:
- ssh://root@lewis.lan/{{ backup_location }} - ssh://root@lewis.dmz/{{ backup_location }}
retention: retention:
keep_daily: 7 keep_daily: 7
keep_weekly: 4 keep_weekly: 4

View file

@ -21,6 +21,6 @@
follow: true follow: true
- name: Add dataserver to known hosts - name: Add dataserver to known hosts
known_hosts: known_hosts:
name: "lewis.lan" name: "lewis.dmz"
key: "lewis.lan ssh-ed25519 {{ dataserver_public_key }}" key: "lewis.dmz ssh-ed25519 {{ dataserver_public_key }}"
state: present state: present

View file

@ -30,6 +30,6 @@ services:
- traefik.http.routers.esrom.tls=true - traefik.http.routers.esrom.tls=true
- traefik.http.routers.esrom.tls.certresolver=letsencrypt - 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.entrypoints=internal
- traefik.http.routers.traefik.service=api@internal - traefik.http.routers.traefik.service=api@internal

View file

@ -4,5 +4,5 @@ services:
image: containrrr/watchtower image: containrrr/watchtower
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock - /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 restart: always