Adjusted changed domain for ddns and fixed synlink for rclone

Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>
main
TuDatTr 2023-11-27 22:51:08 +01:00
parent 17d149b622
commit cb6909bbde
5 changed files with 6 additions and 16 deletions

View File

@ -6,12 +6,12 @@ timezone: Europe/Berlin
rclone_config: "/root/.config/rclone/" rclone_config: "/root/.config/rclone/"
puid: "1000" puid: "1000"
pgid: "1000" pgid: "1000"
pk_path: "/media/veracrypt1/genesis" pk_path: "/mnt/veracrypt1/genesis"
pubkey: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKqc9fnzfCz8fQDFzla+D8PBhvaMmFu2aF+TYkkZRxl9 tuan@genesis-2022-01-20" pubkey: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKqc9fnzfCz8fQDFzla+D8PBhvaMmFu2aF+TYkkZRxl9 tuan@genesis-2022-01-20"
local_domain: borg.land local_domain: tudattr.dev
local_subdomains: "@" local_subdomains: "local"
remote_domain: tudattr.dev remote_domain: tudattr.dev
remote_subdomains: "www,plex,status,tautulli" remote_subdomains: "www,plex,status,tautulli"
backup_domain: seyshiro.de backup_domain: seyshiro.de
@ -281,7 +281,7 @@ wg_deps: "wireguard"
wg_ip: "192.168.200.2" wg_ip: "192.168.200.2"
wg_pubkey: "+LaPESyBF6Sb1lqkk4UcestFpXNaKYyyX99tkqwLQhU=" wg_pubkey: "+LaPESyBF6Sb1lqkk4UcestFpXNaKYyyX99tkqwLQhU="
wg_endpoint: "{{ local_domain }}:51820" wg_endpoint: "{{ local_subdomains }}.{{ local_domain }}:51820"
wg_allowed_ips: "192.168.20.0/24,192.168.200.1/32" wg_allowed_ips: "192.168.20.0/24,192.168.200.1/32"
wg_dns: "{{ aya01_ip }},{{ pi_ip }},1.1.1.1" wg_dns: "{{ aya01_ip }},{{ pi_ip }},1.1.1.1"

View File

@ -13,7 +13,7 @@
- name: Backing up for "{{ inventory_hostname }}" - name: Backing up for "{{ inventory_hostname }}"
shell: shell:
cmd: "rclone sync {{ item }} secret:{{ item }} -L" cmd: "rclone sync {{ item }} secret:{{ item }} --skip-links"
loop: "{{ host.backblaze.paths }}" loop: "{{ host.backblaze.paths }}"
become: true become: true

View File

@ -12,10 +12,3 @@
become: true become: true
- name: Copy wildcard config
template:
owner: "{{ puid }}"
src: "templates/common/pihole/etc-dnsmasq/02-wildcard-dns.conf"
dest: "{{ docker_dir }}/pihole/etc-dnsmasq.d/02-wildcard-dns.conf"
mode: '660'
become: true

View File

@ -4,7 +4,7 @@
"provider": "namecheap", "provider": "namecheap",
"domain": "{{ local_domain }}", "domain": "{{ local_domain }}",
"host": "{{ local_subdomains }}", "host": "{{ local_subdomains }}",
"password": "{{ vault_ddns_borgland_password }}", "password": "{{ vault_ddns_local_password }}",
"provider_ip": true "provider_ip": true
} }
] ]

View File

@ -1,3 +0,0 @@
address=/pi.borg.land/192.168.20.11
address=/aya01.borg.land/192.168.20.12
address=/naruto.borg.land/192.168.20.13