Skip to content
This repository was archived by the owner on May 27, 2024. It is now read-only.

Commit b3f09ae

Browse files
committed
[303] curl used in place of get_url or uri module
1 parent 4b11a2f commit b3f09ae

File tree

1 file changed

+2
-1
lines changed
  • wordpress-nginx/roles/wordpress/tasks

1 file changed

+2
-1
lines changed

wordpress-nginx/roles/wordpress/tasks/main.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
user: name=wordpress group=wordpress home=/srv/wordpress/
1717

1818
- name: Fetch random salts for WordPress config
19-
local_action: command curl https://api.wordpress.org/secret-key/1.1/salt/
19+
get_url:
20+
url: https://api.wordpress.org/secret-key/1.1/salt/
2021
register: "wp_salt"
2122
become: no
2223
become_method: sudo

0 commit comments

Comments
 (0)