From a00fe15943fdb8aaecbe21b0e0f9657a6c7577f1 Mon Sep 17 00:00:00 2001 From: Till Maas Date: Tue, 4 Jun 2019 22:03:57 +0200 Subject: [PATCH] library: Make ignore_errors a real bool This removes warnings like: [WARNING]: The value False (type bool) in a string field was converted to u'False' (type string). If this does not look like what you expect, quote the entire value to ensure it does not change. --- library/network_connections.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/network_connections.py b/library/network_connections.py index 0d7ac94..6b20dad 100644 --- a/library/network_connections.py +++ b/library/network_connections.py @@ -1349,7 +1349,7 @@ class RunEnvironment: class RunEnvironmentAnsible(RunEnvironment): ARGS = { - "ignore_errors": {"required": False, "default": False, "type": "str"}, + "ignore_errors": {"required": False, "default": False, "type": "bool"}, "force_state_change": {"required": False, "default": False, "type": "bool"}, "provider": {"required": True, "default": None, "type": "str"}, "connections": {"required": False, "default": None, "type": "list"},