Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---
- -
- name: "REST CALL"
- hosts: local
- tasks:
- - name: "REST Call to Get Session ID"
- uri:
- url: http://192.168.96.172:5300/avxapi/acctmgmt-perform-login?gwkey=f000ca01&gwsource=web
- method: POST
- body: "{{ lookup('file','empty.json') }}"
- body_format: json
- return_content: yes
- headers:
- Content-Type: "application/json"
- username: "admin"
- password: "Apptest@123"
- register: login
- - debug:
- var: "{{ login }}"
- PLAY [Trigger Create VIP Workflow in AppViewX] *********************************
- TASK [Gathering Facts] *********************************************************
- ok: [localhost]
- TASK [REST Call to Get Session ID] *********************************************
- ok: [localhost]
- TASK [debug] *******************************************************************
- ok: [localhost] => {
- "<type 'dict'>": "VARIABLE IS NOT DEFINED!"
- }
- {"payload":{}}
Add Comment
Please, Sign In to add comment