From b6d02e11cc8ac63ce717f1a9be092f1f541745b6 Mon Sep 17 00:00:00 2001 From: Tharre Date: Tue, 19 Feb 2019 05:45:25 +0100 Subject: Add WireGuard role --- pass-client | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 pass-client (limited to 'pass-client') 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]) -- cgit v1.2.3-70-g09d2