Skip to content

Instantly share code, notes, and snippets.

@motorcityadam
Created April 24, 2015 03:54
Show Gist options
  • Save motorcityadam/5e99923c7327b18efe19 to your computer and use it in GitHub Desktop.
Save motorcityadam/5e99923c7327b18efe19 to your computer and use it in GitHub Desktop.
#!/bin/sh
{% for k, v in item.environment.iteritems() if k != 'name' %}
unset {{ k.upper() }}
{% endfor %}
echo "##################################"
echo "Completed deactivation of {{ item.environment.name }}."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment