Skip to content

Instantly share code, notes, and snippets.

@zbal
zbal / gist:5675401
Created May 30, 2013 02:28
Network mapbox from Shanghai

From office (professional connection) - MacOSX

Traceroute

Run 1

Vincents-MacBook-Pro:demo balou$ traceroute a.tiles.mapbox.com
traceroute: Warning: a.tiles.mapbox.com has multiple addresses; using 216.137.55.37
traceroute to dnv9my2eseobd.cloudfront.net (216.137.55.37), 64 hops max, 52 byte packets
 1  server-216-137-55-37.hkg1.r.cloudfront.net (216.137.55.37)  0.999 ms  1.068 ms  0.653 ms
@zbal
zbal / gist:5226450
Created March 23, 2013 04:28
netsted with_items
main playbook:
tasks:
- include: $item/tasks/main.yml
when_string: "'$item' in $group_names"
with_items:
- apache
- php
included file ex. apache/tasks/main.yml:
# Prepare the app
- run: devops nodejs app add
options:
name: "{{ app_name }}"
root: /opt/{{ app_name }}/bundle
script: main.js
node_env: prod
user: devops
extra_env: >
"PORT=3000