community / community.general / 1.3.14 / module / opkg Package manager for OpenWrt Authors: Patrick Pelletier (@skinp)community.general.opkg (1.3.14) — module
Install with ansible-galaxy collection install community.general:==1.3.14
collections: - name: community.general version: 1.3.14
Manages OpenWrt packages
- name: Install foo community.general.opkg: name: foo state: present
- name: Update cache and install foo community.general.opkg: name: foo state: present update_cache: yes
- name: Remove foo community.general.opkg: name: foo state: absent
- name: Remove foo and bar community.general.opkg: name: foo,bar state: absent
- name: Install foo using overwrite option forcibly community.general.opkg: name: foo state: present force: overwrite
name: aliases: - pkg description: - name of package to install/remove required: true type: str force: choices: - '' - depends - maintainer - reinstall - overwrite - downgrade - space - postinstall - remove - checksum - removal-of-dependent-packages description: - opkg --force parameter used type: str state: choices: - present - absent - installed - removed default: present description: - state of the package type: str update_cache: aliases: - update-cache default: 'no' description: - update the package db first type: bool