sbaerlocher.wp-cli
Ansible Role: WP-CLI
Description
This is an Ansible role for installing WP-CLI, which is a command line tool for managing WordPress.
Installation
To install, run the following command:
ansible-galaxy install sbaerlocher.wp-cli
Requirements
There are no specific requirements.
Role Variables
Variable | Default | Comments (type) |
---|---|---|
wp_cli_phar_url |
https://raw.github.com/wp-cli/builds/gh-pages/phar/wp-cli.phar |
URL to download the WP-CLI phar file |
wp_cli_bin_path |
/usr/bin/{{ wp_cli_bin_command }} |
Path where WP-CLI will be stored on the remote machine |
wp_cli_bin_command |
wp | WP-CLI command used on the remote machine |
wp_cli_packages |
List of WP-CLI packages to install |
Dependencies
No dependencies.
Example Playbook
Here’s an example playbook to use this role:
- hosts: all
roles:
- sbaerlocher.wp-cli
Changelog
1.3
- Added new role tests
1.2
- Introduced WP-CLI package installer
1.1
- Integrated Travis CI
- Fixed issues with Travis CI
1.0
- First release
Author
License
This project is licensed under the MIT License. You can find the full license text in the LICENSE file.
Copyright
(c) 2018, Simon Bärlocher
Informazioni sul progetto
Install WP-CLI, a command line interface for WordPress.
Installa
ansible-galaxy install sbaerlocher.wp-cli
Licenza
mit
Download
623.9k
Proprietario
Technology Evangelist / System Engineer by @whatwedo / Project Manager @arillso / @ansible and @nuxt fan / Based in #Bern