1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

opkg: extend docu about compatibilty with OpenWrt vs. Yocto based Linux distribitions (#5810)

* opkg: extend documentation: opkg also works on Yocto

... based linux distributions

Signed-off-by: Joerg Hofrichter <joerg.hofrichter@ni.com>

* opkg: extend documentation: PACKAGE=VERSION only works on Yocto

... based linux distributions

Signed-off-by: Joerg Hofrichter <joerg.hofrichter@ni.com>

Signed-off-by: Joerg Hofrichter <joerg.hofrichter@ni.com>
This commit is contained in:
joergho 2023-01-12 20:43:56 +01:00 committed by GitHub
parent 682bb4b88a
commit b9ac2dcda5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,16 +15,17 @@ DOCUMENTATION = '''
--- ---
module: opkg module: opkg
author: "Patrick Pelletier (@skinp)" author: "Patrick Pelletier (@skinp)"
short_description: Package manager for OpenWrt short_description: Package manager for OpenWrt and Openembedded/Yocto based Linux distributions
description: description:
- Manages OpenWrt packages - Manages ipk packages for OpenWrt and Openembedded/Yocto based Linux distributions
options: options:
name: name:
description: description:
- Name of package(s) to install/remove. - Name of package(s) to install/remove.
- C(NAME=VERSION) syntax is also supported to install a package - C(NAME=VERSION) syntax is also supported to install a package
in a certain version. See the examples. This is supported since in a certain version. See the examples. This only works on Yocto based
community.general 6.2.0. Linux distributions (opkg>=0.3.2) and not for OpenWrt. This is
supported since community.general 6.2.0.
aliases: [pkg] aliases: [pkg]
required: true required: true
type: list type: list
@ -67,7 +68,7 @@ EXAMPLES = '''
name: foo name: foo
state: present state: present
- name: Install foo in version 1.2 - name: Install foo in version 1.2 (opkg>=0.3.2 on Yocto based Linux distributions)
community.general.opkg: community.general.opkg:
name: foo=1.2 name: foo=1.2
state: present state: present