This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import gzip | |
import snappy | |
import uuid | |
import time | |
import subprocess | |
import pyinotify | |
import argparse | |
import re |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am szibis on github. | |
* I am szibis (https://keybase.io/szibis) on keybase. | |
* I have a public key ASAwMxeD_NQFqCM4jCou0ytNzci_yU8RmB-jEBOTS5wNyAo | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import json | |
import backoff | |
import urllib2 | |
METADATA_URL_BASE = "http://169.254.169.254/2012-01-12/" | |
BLOCK_DEVICE_MAPPING = METADATA_URL_BASE + "meta-data/block-device-mapping/" | |
@backoff.on_exception(backoff.expo, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- name: testing vars_files start | |
hosts: localhost | |
user: root | |
gather_facts: false | |
vars_files: | |
- vars.yml | |
vars: | |
type: "var_from_vars" | |
tasks: |