Skip to content

Instantly share code, notes, and snippets.

@dcrosta
Created March 8, 2013 15:16
Show Gist options
  • Save dcrosta/5117132 to your computer and use it in GitHub Desktop.
Save dcrosta/5117132 to your computer and use it in GitHub Desktop.
>>> api.host_tags('my.hostname.com')
['role:base', 'env:prod', 'role:bidder']
>>> api.host_tags('my.hostname.com')
['role:base', 'env:prod']
>>> api.host_tags('my.hostname.com')
['role:base', 'env:prod', 'role:bidder']
>>> api.host_tags('my.hostname.com')
['region:us-east-1', 'role:hdat', 'role:base', 'availability-zone:us-east-1c', 'image:ami-1624987f', 'security-group:sg-a89e60c1', 'instance-type:m1.xlarge', 'name:[redacted]', 'kernel:aki-88aa75e1', 'env:qa', 'security-group:sg-71968219']
>>> api.host_tags('my.hostname.com')
['role:base', 'env:prod', 'role:bidder']
>>> api.host_tags('my.hostname.com')
['role:base', 'role:bidbin-kslave', 'env:prod', 'role:bidbin-mysql-slave']
>>> api.host_tags('my.hostname.com')
['role:base', 'env:beta']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment