From 2d9d474f23b244d9b88acd63c348974a65a656ac Mon Sep 17 00:00:00 2001 From: Kristian Koehntopp Date: Wed, 26 Aug 2015 22:26:02 +0200 Subject: [PATCH] update inline documentation --- lib/ansible/modules/extras/packaging/os/opkg.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/ansible/modules/extras/packaging/os/opkg.py b/lib/ansible/modules/extras/packaging/os/opkg.py index 776c9235678..5fb52eae2eb 100644 --- a/lib/ansible/modules/extras/packaging/os/opkg.py +++ b/lib/ansible/modules/extras/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