mcjones.ca

Using community.general.cloudflare_dns

- name: Create AAAA record
  community.general.cloudflare_dns:
    zone: ZONE NAME
    record: "{{ ansible_hostname }}"
    type: AAAA
    value: "{{ ansible_default_ipv6.address }}"
    api_token: <TOKEN HERE>