diff --git a/playbooks/local_dns.yml b/playbooks/local_dns.yml index 21408dc..9721bd3 100755 --- a/playbooks/local_dns.yml +++ b/playbooks/local_dns.yml @@ -47,6 +47,15 @@ loop_control: label: "{{ item.display }}" tags: [ route53, dns, interface ] + - name: configure root a record + run_once: yes + community.aws.route53: + record: desu.ltd + type: A + ttl: 3600 + state: present + value: 45.79.23.133 + tags: [ route53, dns ] delegate_to: localhost when: status.value == "active" and inventory_hostname is match(".*\.desu\.ltd") tags: [ route53, dns ]