mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
Revise documentation on powershell module replacer code.
This commit is contained in:
committed by
Matt Martz
parent
f7af29680b
commit
bafa63b424
@@ -47,17 +47,16 @@ class ModuleReplacer(object):
|
|||||||
|
|
||||||
from ansible.module_utils.basic import *
|
from ansible.module_utils.basic import *
|
||||||
|
|
||||||
will result in a template evaluation of
|
... will result in the insertion basic.py into the module
|
||||||
|
|
||||||
{{ include 'basic.py' }}
|
|
||||||
|
|
||||||
from the module_utils/ directory in the source tree.
|
from the module_utils/ directory in the source tree.
|
||||||
|
|
||||||
All modules are required to import at least basic, though there will also
|
All modules are required to import at least basic, though there will also
|
||||||
be other snippets.
|
be other snippets.
|
||||||
|
|
||||||
# POWERSHELL_COMMON will also map to
|
# POWERSHELL_COMMON
|
||||||
{{ include 'powershell.ps1' }}
|
|
||||||
|
Also results in the inclusion of the common code in powershell.ps1
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user