Fix docstring and snippet import style in portage module

reviewable/pr18780/r1
James Tanner 11 years ago
parent 7f560d70db
commit 5ea2382614

@ -25,8 +25,7 @@ module: portage
short_description: Package manager for Gentoo short_description: Package manager for Gentoo
description: description:
- Manages Gentoo packages - Manages Gentoo packages
version_added: "1.6"
version_added: "1.4"
options: options:
package: package:
@ -382,8 +381,7 @@ def main():
elif p['state'] in portage_absent_states: elif p['state'] in portage_absent_states:
unmerge_packages(module, packages) unmerge_packages(module, packages)
# import module snippets
# this is magic, see lib/ansible/module_common.py from ansible.module_utils.basic import *
#<<INCLUDE_ANSIBLE_MODULE_COMMON>>
main() main()

Loading…
Cancel
Save