Skip to content

Instantly share code, notes, and snippets.

@aleofreddi
Created January 15, 2020 19:25
Show Gist options
  • Save aleofreddi/88696732c3422d55f131a9ca1a40a388 to your computer and use it in GitHub Desktop.
Save aleofreddi/88696732c3422d55f131a9ca1a40a388 to your computer and use it in GitHub Desktop.
ansible show variables defined for an host (with sudo+user)
ansible -i inventory -m setup -s -u user host
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment