Ansible role for installing WP-CLI, a command line interface for WordPress.
$ ansible-galaxy install heskethm.wp-cli
All available variables and default values are listed below. You may override these in your Playbook, group_vars
, command line etc.
wp_cli_phar_url: https://raw.github.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
Location of the WP-CLI phar to download.
wp_cli_bin_path: /usr/bin/wp
Location to store WP-CLI on remote machine.
None
- hosts: web
roles:
- { role: heskethm.wp-cli }
- Web: markhesketh.co.uk
- Email: [email protected]
- Twitter: twitter.com/markyhesketh
- Github: github.com/heskethm