Add wildcard CNAME record for pwa

This commit is contained in:
Adw8 2024-10-14 18:33:24 +05:30
parent ac974f1378
commit aa8137311a

View File

@ -95,30 +95,28 @@
community.digitalocean.digital_ocean_domain_record: community.digitalocean.digital_ocean_domain_record:
state: present state: present
oauth_token: "{{ do_api_token }}" oauth_token: "{{ do_api_token }}"
name: "{{ subdomain_cluster_control }}.{{ full_domain }}" name: "*.{{ subdomain_prefix }}"
data: "{{ subdomain_cluster_control }}.{{ full_domain }}" data: "{{ subdomain_prefix }}-cluster-control.{{ full_domain }}"
domain: "{{ full_domain }}" domain: "{{ full_domain }}"
type: CNAME type: CNAME
name: "*.{{ subdomain_prefix }}"
ttl: 43200 ttl: 43200
- name: Create CNAME record for pwa - name: Create CNAME record for pwa
community.digitalocean.digital_ocean_domain_record: community.digitalocean.digital_ocean_domain_record:
state: present state: present
oauth_token: "{{ do_api_token }}" oauth_token: "{{ do_api_token }}"
data: "{{ subdomain_cluster_control }}.{{ full_domain }}" name: "pwa"
data: "{{ subdomain_prefix }}-cluster-control.{{ full_domain }}"
domain: "{{ full_domain }}" domain: "{{ full_domain }}"
type: CNAME type: CNAME
name: "pwa"
ttl: 43200 ttl: 43200
- name: Create wildcard CNAME record for pwa - name: Create wildcard CNAME record for pwa
community.digitalocean.digital_ocean_domain_record: community.digitalocean.digital_ocean_domain_record:
state: present state: present
oauth_token: "{{ do_api_token }}" oauth_token: "{{ do_api_token }}"
name: "{{ subdomain_cluster_control }}.{{ full_domain }}" name: "*.pwa"
data: "{{ subdomain_cluster_control }}.{{ full_domain }}" data: "{{ subdomain_prefix }}-cluster-control.{{ full_domain }}"
domain: "{{ full_domain }}" domain: "{{ full_domain }}"
type: CNAME type: CNAME
name: "*.pwa"
ttl: 43200 ttl: 43200