From ae32fd6a9630390ca0b5f190d307884ce3ae9c83 Mon Sep 17 00:00:00 2001 From: Jon Date: Tue, 31 Dec 2024 15:31:01 +0930 Subject: [PATCH] fix(playbook): use API v2 path for uploading inventory ref: #37 #42 --- playbooks/inventory.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/inventory.yaml b/playbooks/inventory.yaml index 0b90735..e69773b 100644 --- a/playbooks/inventory.yaml +++ b/playbooks/inventory.yaml @@ -105,7 +105,7 @@ - name: Upload inventory - {{ ansible_hostname }} ansible.builtin.uri: url: |- - {{ lookup('env', 'ITSM_API') }}/api/device/inventory + {{ lookup('env', 'ITSM_API') }}/api/v2/itam/inventory method: POST body_format: json