Oefenweb / ansible-wordpress

Ansible role to set up (multiple) wordpress installations in Debian-like systems (using wp-cli)
MIT License
79 stars 37 forks source link

Make it possible to execute a query against the database #30

Closed mvdriel closed 9 years ago

mvdriel commented 9 years ago

Like this:

wp-cli db query "INSERT INTO `wp_mainwp_users` (`userid`, `user_email`) VALUES (0, 'user@example.org') ON DUPLICATE KEY UPDATE `userid` = VALUES(`userid`), `user_email` = VALUES(`user_email`);"
tersmitten commented 9 years ago

Fixed in #36