13-Jul-2023 07:26
using below yml file with header as below and token is variable authx . error i am getting is "authx is undefined"
is the header correct ?
---
- name: "{{ name }}"
uri:
url: "{{ url }}"
method: "GET"
headers:
X-F5-Auth-Token: "{{ authx }}"
validate_certs: "no"
status_code: "{{ status|default(200) }}"
timeout: 60
ignore_errors: True
delegate_to: localhost
13-Jul-2023 08:51
what tool is this yaml for and how is it being used?
13-Jul-2023 09:00 - edited 13-Jul-2023 09:01
remotely we will execute the ansible script ...and token is created from other script and kept as ansible vars ...just want to place that token variable in this yaml
url will contain f5 rest api
13-Jul-2023 11:03
authx variable isn't populating, so that will need to be solved before you can troubleshoot anything else. what does that playbook look like?