From e3b66a8016eb2113bea1f5e3a4cbdd32827c62d6 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Tue, 29 Aug 2017 14:41:17 -0400 Subject: [PATCH] ACI Rest: Fix issue with XML response (#28785) --- lib/ansible/modules/network/aci/aci_rest.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/ansible/modules/network/aci/aci_rest.py b/lib/ansible/modules/network/aci/aci_rest.py index 1eb651233d7..a06e9e41d61 100644 --- a/lib/ansible/modules/network/aci/aci_rest.py +++ b/lib/ansible/modules/network/aci/aci_rest.py @@ -192,7 +192,8 @@ def aci_response(result, rawoutput, rest_type='xml'): if rest_type == 'json': aci_response_json(result, rawoutput) - aci_response_xml(result, rawoutput) + else: + aci_response_xml(result, rawoutput) def main():