Adjusted changed domain for ddns and fixed synlink for rclone

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

View File

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

View File

@@ -12,10 +12,3 @@
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",
"domain": "{{ local_domain }}",
"host": "{{ local_subdomains }}",
"password": "{{ vault_ddns_borgland_password }}",
"password": "{{ vault_ddns_local_password }}",
"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