mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
[PR #5810/b9ac2dcd backport][stable-6] opkg: extend docu about compatibilty with OpenWrt vs. Yocto based Linux distribitions (#5825)
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>
(cherry picked from commit b9ac2dcda5
)
Co-authored-by: joergho <48011876+joergho@users.noreply.github.com>
This commit is contained in:
parent
82a9db9738
commit
91cca4ae49
1 changed files with 6 additions and 5 deletions
|
@ -15,16 +15,17 @@ DOCUMENTATION = '''
|
|||
---
|
||||
module: opkg
|
||||
author: "Patrick Pelletier (@skinp)"
|
||||
short_description: Package manager for OpenWrt
|
||||
short_description: Package manager for OpenWrt and Openembedded/Yocto based Linux distributions
|
||||
description:
|
||||
- Manages OpenWrt packages
|
||||
- Manages ipk packages for OpenWrt and Openembedded/Yocto based Linux distributions
|
||||
options:
|
||||
name:
|
||||
description:
|
||||
- Name of package(s) to install/remove.
|
||||
- C(NAME=VERSION) syntax is also supported to install a package
|
||||
in a certain version. See the examples. This is supported since
|
||||
community.general 6.2.0.
|
||||
in a certain version. See the examples. This only works on Yocto based
|
||||
Linux distributions (opkg>=0.3.2) and not for OpenWrt. This is
|
||||
supported since community.general 6.2.0.
|
||||
aliases: [pkg]
|
||||
required: true
|
||||
type: list
|
||||
|
@ -67,7 +68,7 @@ EXAMPLES = '''
|
|||
name: foo
|
||||
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:
|
||||
name: foo=1.2
|
||||
state: present
|
||||
|
|
Loading…
Reference in a new issue