Change net_* default behaviour on missing module (#49923)

* Fix net_base default behaviour

Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>

* New fix

Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
This commit is contained in:
Nilashish Chakraborty 2018-12-26 15:33:30 +05:30 committed by GitHub
parent 09ba1f38f1
commit d4db426737
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -108,7 +108,7 @@ class ActionModule(ActionBase):
conn.send_command('exit')
if 'fail_on_missing_module' not in self._task.args:
self._task.args['fail_on_missing_module'] = False
self._task.args['fail_on_missing_module'] = True
result = super(ActionModule, self).run(task_vars=task_vars)