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`.
This commit is contained in:
Will Thames 2017-03-30 13:08:10 +10:00 committed by Brian Coca
parent e27b4c2ae4
commit ef0bc0aa52

View file

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