Skip to content

Instantly share code, notes, and snippets.

@khous
Created March 30, 2018 18:06
Show Gist options
  • Save khous/42379d272191cdceded8e4396512db0d to your computer and use it in GitHub Desktop.
Save khous/42379d272191cdceded8e4396512db0d to your computer and use it in GitHub Desktop.
- name: Be-dug
debug: msg={{ssg_result|json_query("json.items[?name=='SSG_NAME'].id")}}
vars:
dang: "json.items[?name=='{{SSG_NAME}}'].id"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment