https://github.com/boutetnico/ansible-role-wp-cli
Install command-line interface for WordPress WP-CLI with Ansible.
https://github.com/boutetnico/ansible-role-wp-cli
ansible debian ubuntu wordpress wp-cli
Last synced: about 2 months ago
JSON representation
Install command-line interface for WordPress WP-CLI with Ansible.
- Host: GitHub
- URL: https://github.com/boutetnico/ansible-role-wp-cli
- Owner: boutetnico
- License: mit
- Created: 2020-09-03T09:31:19.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-08-07T08:15:49.000Z (almost 2 years ago)
- Last Synced: 2024-12-28T11:16:07.097Z (over 1 year ago)
- Topics: ansible, debian, ubuntu, wordpress, wp-cli
- Language: Jinja
- Homepage:
- Size: 20.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/boutetnico/ansible-role-wp-cli/actions?query=workflow%3A%22Test+ansible+role%22)
[](https://galaxy.ansible.com/boutetnico/wp_cli)
ansible-role-wp-cli
===================
This role installs and configures [WP-CLI](https://wp-cli.org/).
Requirements
------------
Ansible 2.10 or newer.
Supported Platforms
-------------------
- [Debian - 11 (Bullseye)](https://wiki.debian.org/DebianBullseye)
- [Debian - 12 (Bookworm)](https://wiki.debian.org/DebianBookworm)
- [Ubuntu - 22.04 (Jammy Jellyfish)](http://releases.ubuntu.com/22.04/)
- [Ubuntu - 24.04 (Noble Numbat)](http://releases.ubuntu.com/24.04/)
Role Variables
--------------
| Variable | Required | Default | Choices | Comments |
|---------------------|----------|---------------------|-----------|------------------------------------------|
| wp_cli_path | true | `/usr/local/bin/wp` | string | |
| wp_cli_keep_updated | true | `false` | bool | |
Dependencies
------------
None
Example Playbook
----------------
- hosts: all
roles:
- role: ansible-role-wp-cli
Testing
-------
molecule test
License
-------
MIT
Author Information
------------------
[@boutetnico](https://github.com/boutetnico)