Format the cloudflare playbook
ci/woodpecker/push/build Pipeline was successful
Details
ci/woodpecker/push/build Pipeline was successful
Details
This commit is contained in:
parent
50654bb0f6
commit
9478dd21ed
|
@ -27,10 +27,10 @@
|
|||
- name: Dummy public ip
|
||||
when: state == "absent"
|
||||
set_fact:
|
||||
public_ip: 0.0.0.0
|
||||
public_ip: 0.0.0.0
|
||||
|
||||
- name: Configre A record
|
||||
community.general.cloudflare_dns:
|
||||
community.general.cloudflare_dns:
|
||||
api_token: "{{ api_token }}"
|
||||
record: "{{ env }}"
|
||||
zone: "badhouseplants.net"
|
||||
|
@ -39,10 +39,10 @@
|
|||
state: "{{ state }}"
|
||||
|
||||
- name: Configre CNAME
|
||||
community.general.cloudflare_dns:
|
||||
community.general.cloudflare_dns:
|
||||
api_token: "{{ api_token }}"
|
||||
record: "*.{{ env }}"
|
||||
zone: "badhouseplants.net"
|
||||
type: CNAME
|
||||
value: "{{ env }}.badhouseplants.net"
|
||||
state: "{{ state }}"
|
||||
state: "{{ state }}"
|
||||
|
|
Loading…
Reference in New Issue