Commit bafa63b4 by Michael DeHaan Committed by Matt Martz

Revise documentation on powershell module replacer code.

parent f7af2968
...@@ -47,17 +47,16 @@ class ModuleReplacer(object): ...@@ -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
""" """
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment