Skip to content

Commit c9cb0cb

Browse files
committed
not a clue
1 parent 25bd954 commit c9cb0cb

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

cyberark/ansible/conjur_health.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
2+
3+
4+
5+
- name: Get stats from JSON API
6+
uri:
7+
url: https://myapi.com/stats
8+
return_content: yes
9+
register: result
10+
11+
- debug:
12+
msg: "Current temp is: {{ result.json | json_query(‘temp‘)}}"
13+
14+
15+
16+
when:
17+
organizations[0].divisions|json_query(‘[*].teams[*].name‘) == ‘Storage‘

0 commit comments

Comments
 (0)