Skip to content

Instantly share code, notes, and snippets.

@ncadou
ncadou / keybase.md
Created November 22, 2017 00:01
keybase.md

Keybase proof

I hereby claim:

  • I am ncadou on github.
  • I am ncadou (https://keybase.io/ncadou) on keybase.
  • I have a public key whose fingerprint is 8909 1836 13E7 267C B861 45A3 A82C 7A43 3FB7 9E63

To claim this, I am signing this object:

@ncadou
ncadou / keepass_vars.py
Created May 27, 2014 20:11
Ansible vars plugin that reads from keepass (v1 databases)
from os import environ, path
from ansible import errors, utils
from keepassdb import Database
DEFAULT_DB = 'prod'
class VarsModule(object):
"""Loads variables from secret_vars/<username>.kdb in the same directory