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
|
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…
Reference in a new issue