Skip to content

Commit

Permalink
openwrt_init / opkg: clearly state that python is required (ansible#2…
Browse files Browse the repository at this point in the history
…6471)

* openwrt_init: clearly state that python is required

As python isn't installed by default on OpenWrt/LEDE,
clearly state that python is required

Signed-off-by: Etienne CHAMPETIER <[email protected]>

* opkg: clearly state that python is required

As python isn't installed by default on OpenWrt/LEDE,
clearly state that python is required

Signed-off-by: Etienne CHAMPETIER <[email protected]>
  • Loading branch information
champtar authored and bcoca committed Jul 6, 2017
1 parent 9e98140 commit f25637e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions lib/ansible/modules/packaging/os/opkg.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@
default: "no"
choices: [ "yes", "no" ]
notes: []
requirements:
- opkg
- python
'''
EXAMPLES = '''
- opkg:
Expand Down
2 changes: 1 addition & 1 deletion lib/ansible/modules/system/openwrt_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
notes:
- One option other than name is required.
requirements:
- An OpenWrt system
- An OpenWrt system (with python)
'''

EXAMPLES = '''
Expand Down

0 comments on commit f25637e

Please sign in to comment.