blob: 946187503cab75b7d623d64f6ba6e9fb535e1ae1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
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])
|