Skip to content

Commit

Permalink
debug json
Browse files Browse the repository at this point in the history
  • Loading branch information
ASoTNetworks committed Mar 20, 2024
1 parent a35d10d commit a08f545
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion roles/node/tasks/base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,14 @@
return_content: yes
status_code: 200
body_format: json
# http_agent: "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0"
http_agent: "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0"
when: chain_registry is defined
register: chain_registry_json

- name: print json
debug:
msg: '{{ chain_registry_json }}'

- name: Set chain_id to {{ chain_registry_json.json.chain_id }}
when: chain_registry is defined
set_fact:
Expand Down

0 comments on commit a08f545

Please sign in to comment.