From 8c751b3d862c52f191cc3b5e8da0d5109b5a301e Mon Sep 17 00:00:00 2001 From: Jon Date: Wed, 1 Jan 2025 15:50:01 +0930 Subject: [PATCH] fix(playbook): Add Trace output for inventory upload ref: #34 --- playbooks/inventory.yaml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/playbooks/inventory.yaml b/playbooks/inventory.yaml index ad59a58..1eea949 100644 --- a/playbooks/inventory.yaml +++ b/playbooks/inventory.yaml @@ -132,12 +132,13 @@ - name: Trace - Show Upload Details ansible.builtin.debug: - - | - Upload failed with: - * URL: {{ api_post_inventory.url }} - * HTTP status code: {{ api_post_inventory.status }} - * Message: {{ api_post_inventory.msg }} - * Body: {{ api_post_inventory.json }} + msg: + - | + Upload failed with: + * URL: {{ api_post_inventory.url }} + * HTTP status code: {{ api_post_inventory.status }} + * Message: {{ api_post_inventory.msg }} + * Body: {{ api_post_inventory.json }} always: