update inline documentation

This commit is contained in:
Kristian Koehntopp 2015-08-26 22:26:02 +02:00 committed by Matt Clay
parent 2e80ff1898
commit 2d9d474f23

View file

@ -36,6 +36,12 @@ options:
choices: [ 'present', 'absent' ] choices: [ 'present', 'absent' ]
required: false required: false
default: present default: present
force:
description:
- opkg --force parameter used
choices: ["", "depends", "maintainer", "reinstall", "overwrite", "downgrade", "space", "postinstall", "remove", "checksum", "removal-of-dependent-packages"]
required: false
default: absent
update_cache: update_cache:
description: description:
- update the package db first - update the package db first
@ -49,6 +55,7 @@ EXAMPLES = '''
- opkg: name=foo state=present update_cache=yes - opkg: name=foo state=present update_cache=yes
- opkg: name=foo state=absent - opkg: name=foo state=absent
- opkg: name=foo,bar state=absent - opkg: name=foo,bar state=absent
- opkg: name=foo state=present force=overwrite
''' '''
import pipes import pipes