mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-05 02:03:09 +00: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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user