community / community.general / 0.1.4 / module / pear Manage pear/pecl packages Authors: Jonathan Lestrelin (@jle64) <jonathan.lestrelin@gmail.com>community.general.pear (0.1.4) — module
Install with ansible-galaxy collection install community.general:==0.1.4
collections: - name: community.general version: 0.1.4
Manage PHP packages with the pear package manager.
- name: Install pear package pear: name: Net_URL2 state: present
- name: Install pecl package pear: name: pecl/json_post state: present
- name: Upgrade package pear: name: Net_URL2 state: latest
- name: 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