Skip to content

Instantly share code, notes, and snippets.

@FGtatsuro
Created February 15, 2019 16:22
Show Gist options
  • Save FGtatsuro/802f0816381af4937690b4a68b9c42f0 to your computer and use it in GitHub Desktop.
Save FGtatsuro/802f0816381af4937690b4a68b9c42f0 to your computer and use it in GitHub Desktop.
Ansible utility
ANSIBLE_LOAD_CALLBACK_PLUGINS=1 ANSIBLE_STDOUT_CALLBACK=json \
ansible devenv -i inventory/hosts -m setup | jq '.plays[0].tasks[0].hosts.devenv.ansible_facts.ansible_env.HOME'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment