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:
parent
f7af29680b
commit
bafa63b424
1 changed files with 4 additions and 5 deletions
|
@ -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
|
||||
|
||||
"""
|
||||
|
||||
|
|
Loading…
Reference in a new issue