mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 22:33:25 +00:00
fixy typo
This commit is contained in:
@@ -107,7 +107,7 @@ class InventoryModule(BaseInventoryPlugin, Cacheable):
|
|||||||
err = to_native(stderr or "")
|
err = to_native(stderr or "")
|
||||||
|
|
||||||
if err and not err.endswith('\n'):
|
if err and not err.endswith('\n'):
|
||||||
err =+ '\n'
|
err += '\n'
|
||||||
|
|
||||||
if sp.returncode != 0:
|
if sp.returncode != 0:
|
||||||
raise AnsibleError("Inventory script (%s) had an execution error: %s " % (path, err))
|
raise AnsibleError("Inventory script (%s) had an execution error: %s " % (path, err))
|
||||||
|
|||||||
Reference in New Issue
Block a user