Format the cloudflare playbook
ci/woodpecker/push/build Pipeline was successful Details

This commit is contained in:
Nikolai Rodionov 2024-05-09 11:09:50 +02:00
parent 50654bb0f6
commit 9478dd21ed
Signed by: allanger
GPG Key ID: 0AA46A90E25592AD
1 changed files with 4 additions and 4 deletions

View File

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