From bafa63b4245b0ac86fffc30de0ae8bdfa25a4d79 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Tue, 17 Jun 2014 16:14:22 -0500 Subject: [PATCH] Revise documentation on powershell module replacer code. --- lib/ansible/module_common.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/lib/ansible/module_common.py b/lib/ansible/module_common.py index 4bcaaff27bc..fc74e91f656 100644 --- a/lib/ansible/module_common.py +++ b/lib/ansible/module_common.py @@ -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 """