1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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)