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:
parent
e94a4aa70f
commit
53777bbbc9
1 changed files with 3 additions and 5 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue