Compare commits

...

2 Commits

Author SHA1 Message Date
4771981fc8 Disable more fqcns 2023-10-29 14:05:36 -05:00
c824e7bc33 Replace community.aws.route53 with new CN 2023-10-29 14:04:46 -05:00
2 changed files with 8 additions and 6 deletions

View File

@ -43,3 +43,5 @@ warn_list:
# FQCN is a nice-to-have, but I'm not worried about it
- fqcn-builtins
- fqcn[action]
- fqcn[action-core]
- fqcn[canonical]

View File

@ -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