mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
Network load_config: Capture configuration output and display as warnings (#27851)
* Capture configuration output and display as warnings * Don't break on nxapi nxapi errors very loudly instead, so no need to muck about with warnings
This commit is contained in:
@@ -748,7 +748,7 @@ def main():
|
||||
|
||||
if candidate:
|
||||
candidate = candidate.items_text()
|
||||
load_config(module, candidate)
|
||||
warnings.extend(load_config(module, candidate))
|
||||
result['changed'] = True
|
||||
result['commands'] = candidate
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user