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