From c824e7bc33e916dad06a1cf86937a82ecdc0c8cf Mon Sep 17 00:00:00 2001 From: Jacob Babor Date: Sun, 29 Oct 2023 14:04:46 -0500 Subject: [PATCH] Replace community.aws.route53 with new CN --- playbooks/local_dns.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/playbooks/local_dns.yml b/playbooks/local_dns.yml index cf3fe05..29953c2 100755 --- a/playbooks/local_dns.yml +++ b/playbooks/local_dns.yml @@ -5,7 +5,7 @@ gather_facts: no become: no module_defaults: - community.aws.route53: + amazon.aws.route53: # These credentials are specific to this playbook aws_access_key: !vault | $ANSIBLE_VAULT;1.1;AES256 @@ -30,7 +30,7 @@ - name: configure dns block: - name: configure main mgmt dns - community.aws.route53: + amazon.aws.route53: record: "{{ inventory_hostname }}" type: A ttl: 3600 @@ -39,7 +39,7 @@ - "{{ ansible_host }}" tags: [ route53, dns, main ] - name: configure interface dns - community.aws.route53: + amazon.aws.route53: record: "{{ item.name }}.{{ inventory_hostname }}" type: A ttl: 3600 @@ -53,7 +53,7 @@ tags: [ route53, dns, interface ] - name: configure root a record run_once: yes - community.aws.route53: + amazon.aws.route53: record: desu.ltd type: A ttl: 3600 @@ -64,7 +64,7 @@ when: status.value == "active" and inventory_hostname is match(".*\.desu\.ltd") tags: [ route53, dns ] - name: configure legacy dns - community.aws.route53: + amazon.aws.route53: record: "{{ item.record }}" type: "{{ item.type | default('CNAME', true) }}" ttl: 3600 @@ -83,7 +83,7 @@ run_once: true tags: [ route53, dns, legacy ] - name: configure site dns - community.aws.route53: + amazon.aws.route53: record: "{{ item.record }}" type: "{{ item.type | default('CNAME', true) }}" ttl: 3600