1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fix docstring and snippet import style in portage module

This commit is contained in:
James Tanner 2014-03-11 15:26:26 -04:00
parent e94a4aa70f
commit 53777bbbc9

View file

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