Skip to content

Commit

Permalink
various: use official cloudflare_dns module again
Browse files Browse the repository at this point in the history
  • Loading branch information
saltydk committed Oct 9, 2024
1 parent b7cfdc9 commit 4fbcc53
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .ansible-lint
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ mock_modules:
- find_open_port
- saltbox_facts
- qbittorrent_passwd
- cloudflare_dns_custom

mock_roles:
- pre_tasks
Expand Down
2 changes: 1 addition & 1 deletion roles/minecraft/tasks/main2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
register: port_lookup_minecraft_tcp

- name: Add SRV record
cloudflare_dns_custom:
community.general.cloudflare_dns:
account_api_key: "{{ cloudflare.api }}"
account_email: "{{ cloudflare.email }}"
port: "{{ minecraft_docker_ports_25565 }}"
Expand Down
2 changes: 1 addition & 1 deletion roles/teamspeak/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
dns_proxy: "{{ lookup('vars', role_name + '_dns_proxy') }}"

- name: Add SRV record
cloudflare_dns_custom:
community.general.cloudflare_dns:
account_api_key: "{{ cloudflare.api }}"
account_email: "{{ cloudflare.email }}"
port: "{{ teamspeak_docker_ports_9987 }}"
Expand Down

0 comments on commit 4fbcc53

Please sign in to comment.