Network *_config action plugin updates (#43838)

* Compatibility fixes for ${network_os}_config action plugins
This commit is contained in:
Nathaniel Case 2018-08-08 15:15:08 -04:00 committed by GitHub
parent ceb49bdf12
commit 35f625ee3b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 28 additions and 33 deletions

View file

@ -39,7 +39,7 @@ class ActionModule(_ActionModule):
try:
self._handle_template()
except ValueError as exc:
return dict(failed=True, msg=exc.message)
return dict(failed=True, msg=to_text(exc))
result = super(ActionModule, self).run(tmp, task_vars)
del tmp # tmp no longer has any effect