This role installs and configures WP-CLI.
Ansible 2.10 or newer.
- Debian - 11 (Bullseye)
- Debian - 12 (Bookworm)
- Ubuntu - 20.04 (Focal Fossa)
- Ubuntu - 22.04 (Jammy Jellyfish)
Variable | Required | Default | Choices | Comments |
---|---|---|---|---|
wp_cli_path | true | /usr/local/bin/wp |
string | |
wp_cli_keep_updated | true | false |
bool |
None
- hosts: all
roles:
- role: ansible-role-wp-cli
molecule test
MIT