Skip to content

Instantly share code, notes, and snippets.

@epower
Created April 29, 2015 21:10
Show Gist options
  • Save epower/a1128b646766661e1c4b to your computer and use it in GitHub Desktop.
Save epower/a1128b646766661e1c4b to your computer and use it in GitHub Desktop.
ubuntu stats gathering
#!/bin/bash
sudo apt-get install python-pip -y
sudo pip install ansible
ansible -m setup all -i localhost, --connection=local >> stats.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment