diff --git a/lib/ansible/plugins/action/add_host.py b/lib/ansible/plugins/action/add_host.py index c41c89d01e..9b46e5dd28 100644 --- a/lib/ansible/plugins/action/add_host.py +++ b/lib/ansible/plugins/action/add_host.py @@ -41,7 +41,7 @@ class ActionModule(ActionBase): def run(self, tmp=None, task_vars=None): - self._supports_check_mode = False + self._supports_check_mode = True result = super(ActionModule, self).run(tmp, task_vars)