Skip to content

Commit

Permalink
fix(playbook): Correct Centurion ENV Vars
Browse files Browse the repository at this point in the history
ref: #34
  • Loading branch information
jon-nfc committed Dec 31, 2024
1 parent d9788ef commit 037d013
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions playbooks/inventory.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,15 +105,15 @@
- name: Upload inventory - {{ ansible_hostname }}
ansible.builtin.uri:
url: |-
{{ lookup('env', 'ITSM_API') }}/api/v2/itam/inventory
{{ lookup('env', 'CENTURION_API') }}/api/v2/itam/inventory
method: POST
body_format: json
src: "/tmp/{{ ansible_hostname }}.json"
remote_src: true
headers:
Authorization: Token {{ lookup('env', 'ITSM_TOKEN') }}
validate_certs: "{{ lookup('env', 'ITSM_VALIDATE_CERTS') | default(true) | bool }}"
Authorization: Token {{ lookup('env', 'CENTURION_TOKEN') }}
validate_certs: "{{ lookup('env', 'CENTURION_VALIDATE_CERTS') | default(true) | bool }}"
timeout: 300
status_code:
- 200
Expand Down

0 comments on commit 037d013

Please sign in to comment.