fix(playbook): Add Trace output for inventory upload

ref: #34
This commit is contained in:
2025-01-01 15:50:01 +09:30
parent 7294e00f4f
commit 8c751b3d86

View File

@ -132,12 +132,13 @@
- name: Trace - Show Upload Details - name: Trace - Show Upload Details
ansible.builtin.debug: ansible.builtin.debug:
- | msg:
Upload failed with: - |
* URL: {{ api_post_inventory.url }} Upload failed with:
* HTTP status code: {{ api_post_inventory.status }} * URL: {{ api_post_inventory.url }}
* Message: {{ api_post_inventory.msg }} * HTTP status code: {{ api_post_inventory.status }}
* Body: {{ api_post_inventory.json }} * Message: {{ api_post_inventory.msg }}
* Body: {{ api_post_inventory.json }}
always: always: