Skip to content

Commit

Permalink
fix ipv6 and replace old entries
Browse files Browse the repository at this point in the history
  • Loading branch information
lightlike committed Jun 21, 2024
1 parent a39908e commit 36b8ce3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ansible/update-dns.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
record: "{{ item }}"
type: "A"
value: "{{ lookup('file', ipv4_path) }}"
solo: yes
with_items: "{{ lookup('env','RECORDS') | split }}"

- name: Create IPv6 Record
Expand All @@ -60,6 +61,7 @@
customer_id: "{{ lookup('env','CUSTOMER_ID') }}"
domain: "{{ lookup('env','DOMAIN') }}"
record: "{{ item }}"
type: "A"
type: "AAAA"
value: "{{ lookup('file', ipv6_path) }}"
solo: yes
with_items: "{{ lookup('env','RECORDS') | split }}"

0 comments on commit 36b8ce3

Please sign in to comment.