community / community.general / 0.1.1 / module / pear Manage pear/pecl packages Authors: Jonathan Lestrelin (@jle64) <jonathan.lestrelin@gmail.com> preview | supported by communitycommunity.general.pear (0.1.1) — module
Install with ansible-galaxy collection install community.general:==0.1.1
collections: - name: community.general version: 0.1.1
Manage PHP packages with the pear package manager.
# Install pear package - pear: name: Net_URL2 state: present
# Install pecl package - pear: name: pecl/json_post state: present
# Upgrade package - pear: name: Net_URL2 state: latest
# Remove packages - pear: name: Net_URL2,pecl/json_post state: absent
name: description: - Name of the package to install, upgrade, or remove. required: true state: choices: - present - absent - latest default: present description: - Desired state of the package. executable: description: - Path to the pear executable