From 2da199b51d2ae0ee7b348e1299ecc6ff59895075 Mon Sep 17 00:00:00 2001 From: Kristian Koehntopp Date: Wed, 26 Aug 2015 22:26:02 +0200 Subject: [PATCH] update inline documentation --- packaging/os/opkg.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packaging/os/opkg.py b/packaging/os/opkg.py index 776c9235678..5fb52eae2eb 100644 --- a/packaging/os/opkg.py +++ b/packaging/os/opkg.py @@ -36,6 +36,12 @@ options: choices: [ 'present', 'absent' ] required: false 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: description: - update the package db first @@ -49,6 +55,7 @@ EXAMPLES = ''' - opkg: name=foo state=present update_cache=yes - opkg: name=foo state=absent - opkg: name=foo,bar state=absent +- opkg: name=foo state=present force=overwrite ''' import pipes