This state module is used to manage Wordpress installations
wp binary from http://wp-cli.org/
salt.states.wordpress.
activated
(name, path, user)¶Activate wordpress plugins
name of plugin to activate
path to wordpress installation
user who should own the files in the wordpress installation
HyperDB:
wordpress.activated:
- path: /var/www/html
- user: apache
salt.states.wordpress.
deactivated
(name, path, user)¶Deactivate wordpress plugins
name of plugin to deactivate
path to wordpress installation
user who should own the files in the wordpress installation
HyperDB:
wordpress.deactivated:
- path: /var/www/html
- user: apache
salt.states.wordpress.
installed
(name, user, admin_user, admin_password, admin_email, title, url)¶Run the initial setup of wordpress
path to the wordpress installation
user that owns the files for the wordpress installation
username for wordpress website administrator user
password for wordpress website administrator user
email for wordpress website administrator user
title for the wordpress website
url for the wordpress website
/var/www/html:
wordpress.installed:
- title: Daniel's Awesome Blog
- user: apache
- admin_user: dwallace
- admin_email: dwallace@example.com
- admin_password: password123
- url: https://blog.dwallace.com