diff options
Diffstat (limited to 'lib/ansible/plugins/action/add_host.py')
-rw-r--r-- | lib/ansible/plugins/action/add_host.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/ansible/plugins/action/add_host.py b/lib/ansible/plugins/action/add_host.py index e5697399..ede2e05f 100644 --- a/lib/ansible/plugins/action/add_host.py +++ b/lib/ansible/plugins/action/add_host.py @@ -37,12 +37,11 @@ class ActionModule(ActionBase): # We need to be able to modify the inventory BYPASS_HOST_LOOP = True - TRANSFERS_FILES = False + _requires_connection = False + _supports_check_mode = True def run(self, tmp=None, task_vars=None): - self._supports_check_mode = True - result = super(ActionModule, self).run(tmp, task_vars) del tmp # tmp no longer has any effect |