Ansible role for installing WP-CLI, a command line interface for WordPress.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
defaults
meta
tasks
tests Initial commit Jul 25, 2015
.travis.yml
README.md

README.md

Ansible Role: WP-CLI

Build Status

Ansible role for installing WP-CLI, a command line interface for WordPress.

Installation

$ ansible-galaxy install heskethm.wp-cli

Role Variables

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.

Dependencies

None

Example Playbook

- hosts: web
  roles:
     - { role: heskethm.wp-cli }

Author

License

MIT