summaryrefslogtreecommitdiff
path: root/lib/ansible/plugins/action/assert.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ansible/plugins/action/assert.py')
-rw-r--r--lib/ansible/plugins/action/assert.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ansible/plugins/action/assert.py b/lib/ansible/plugins/action/assert.py
index e8ab6a9a..e2fe329e 100644
--- a/lib/ansible/plugins/action/assert.py
+++ b/lib/ansible/plugins/action/assert.py
@@ -27,7 +27,8 @@ from ansible.module_utils.parsing.convert_bool import boolean
class ActionModule(ActionBase):
''' Fail with custom message '''
- TRANSFERS_FILES = False
+ _requires_connection = False
+
_VALID_ARGS = frozenset(('fail_msg', 'msg', 'quiet', 'success_msg', 'that'))
def run(self, tmp=None, task_vars=None):