Created
March 7, 2016 20:55
-
-
Save anonymous/f557a72aef0cb403e378 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/ansible/runner/action_plugins/assemble.py b/lib/ansible/runner/action_plugins/assemble.py | |
index 171d570..32ede59 100644 | |
--- a/lib/ansible/runner/action_plugins/assemble.py | |
+++ b/lib/ansible/runner/action_plugins/assemble.py | |
@@ -88,6 +88,8 @@ class ActionModule(object): | |
remote_src = utils.boolean(options.get('remote_src', 'yes')) | |
regexp = options.get('regexp', None) | |
+ if self.runner.noop_on_check(inject): | |
+ return ReturnData(conn=conn, comm_ok=True, result=dict(skipped=True)) | |
if src is None or dest is None: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment