Managing Wordpress with Ansible
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Ansible + Wordpress

Installing, and managing Wordpress via Ansible on Ubuntu.

Ansible roles that are in this repo:

  • dist_upgrade: Handy for just doing general updates.
  • install_wordpress: Installs wordpress through apt. Also does some tweaking, so that it can be auto upgraded through Wordpress as well (the default version had issues)
  • dump_wordpress: takes a development backup of your wordpress install. (currently does not backup uploads)
  • restore_wordpress: restores a wordpress backup to a given wordpress install.

The example playbooks use the settings I use for my local development. I would suggest changing them as you need.


  • Migration from one server to another, so you do dev/production deploys as well.