Skip to content

Instantly share code, notes, and snippets.

@lorin
Created June 9, 2014 13:54
Show Gist options
  • Save lorin/f70895430168f646526d to your computer and use it in GitHub Desktop.
Save lorin/f70895430168f646526d to your computer and use it in GitHub Desktop.
Ansible module for icanhazip
#!/bin/sh
IP=`curl --silent icanhazip.com`
echo "changed=false ip=$IP"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment