diff options
Diffstat (limited to 'pass-client')
-rwxr-xr-x | pass-client | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/pass-client b/pass-client new file mode 100755 index 0000000..9461875 --- /dev/null +++ b/pass-client @@ -0,0 +1,13 @@ +#!/usr/bin/python + +# NOTE: this file must end with "-client", as otherwise ansible won't pass the +# --vault-id argument to us. + +from subprocess import call +import argparse + +parser = argparse.ArgumentParser() +parser.add_argument('--vault-id', dest='vault_id', required=True) +args = parser.parse_args() + +call(["pass", args.vault_id]) |