initial commit

This commit is contained in:
2022-10-11 08:13:16 -05:00
commit fe686e6579
41 changed files with 14059 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
---
- name: Update Cloudflare
community.general.cloudflare_dns:
zone: "{{ item.zone }}"
record: "{{ item.record }}"
state: "{{ item.state }}"
type: A
proxied: "{{ item.proxied }}"
value: "{{ lookup('env','external_ip') }}"
api_token: "{{ lookup('env','cloudflareapi') }}"
with_items: "{{ DNS }}"