Support check_mode for add_host

`add_host` doesn't really actually change anything - there's no
reason why it shouldn't work in `check_mode`.
pull/23167/head
Will Thames 8 years ago committed by Brian Coca
parent e27b4c2ae4
commit ef0bc0aa52

@ -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)

Loading…
Cancel
Save