Skip to content

Commit

Permalink
replacing get_url with uri prevents corrupt /dev/null permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
brutesque committed Aug 23, 2021
1 parent 63e1533 commit 9bbd43f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions roles/duckdns-remove/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
---

- name: Removing DuckDNS records
get_url:
uri:
url: "https://www.duckdns.org/update?domains={{ duckdns_subdomain }}&token={{ duckdns_token }}&clear=true"
dest: /dev/null
retries: 20
delay: 30
register: duckdns_update_result
Expand Down
3 changes: 1 addition & 2 deletions roles/duckdns/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
---

- name: Updating DuckDNS records
get_url:
uri:
url: "https://www.duckdns.org/update?domains={{ duckdns_subdomain }}&token={{ duckdns_token }}&ip={{ ansible_host }}"
dest: /dev/null
retries: 20
delay: 30
register: duckdns_update_result
Expand Down

0 comments on commit 9bbd43f

Please sign in to comment.