Add missing postgres hostname to cloudflare
This commit is contained in:
parent
193580f215
commit
d9f3a2d3f9
1 changed files with 7 additions and 0 deletions
|
|
@ -48,3 +48,10 @@
|
||||||
become: true
|
become: true
|
||||||
community.docker.docker_compose_v2:
|
community.docker.docker_compose_v2:
|
||||||
project_src: "/home/{{ postgres_unix_username }}/postgres/"
|
project_src: "/home/{{ postgres_unix_username }}/postgres/"
|
||||||
|
- name: Add DNS record in Cloudflare
|
||||||
|
community.general.cloudflare_dns:
|
||||||
|
domain: kleinendorst.info
|
||||||
|
record: postgres
|
||||||
|
type: A
|
||||||
|
value: "{{ ansible_facts['default_ipv4']['address'] }}"
|
||||||
|
api_token: "{{ dns_cloudflare_token }}"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue