Commit 0bbd242d authored by ber's avatar ber
Browse files

become instead of sudo

parent c1ba2d05
......@@ -15,7 +15,8 @@
- name: Fetch random salts for WordPress config
local_action: command curl https://api.wordpress.org/secret-key/1.1/salt/
register: "wp_salt"
sudo: no
become: no
become_method: sudo
- name: Create WordPress database
mysql_db: name={{ wp_db_name }} state=present
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment