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

Revise documentation on powershell module replacer code.

This commit is contained in:
Michael DeHaan 2014-06-17 16:14:22 -05:00 committed by Matt Martz
parent f7af29680b
commit bafa63b424

View file

@ -47,17 +47,16 @@ class ModuleReplacer(object):
from ansible.module_utils.basic import *
will result in a template evaluation of
{{ include 'basic.py' }}
... will result in the insertion basic.py into the module
from the module_utils/ directory in the source tree.
All modules are required to import at least basic, though there will also
be other snippets.
# POWERSHELL_COMMON will also map to
{{ include 'powershell.ps1' }}
# POWERSHELL_COMMON
Also results in the inclusion of the common code in powershell.ps1
"""