From 467920e82486ec0348fbf1c9af03938e013dfd9a Mon Sep 17 00:00:00 2001 From: Ricard Illa Date: Wed, 21 Sep 2022 18:38:47 +0200 Subject: [PATCH] copy gopass config --- roles/gopass/files/config.yml | 9 +++++++++ roles/gopass/tasks/main.yml | 14 ++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 roles/gopass/files/config.yml diff --git a/roles/gopass/files/config.yml b/roles/gopass/files/config.yml new file mode 100644 index 0000000..6698b17 --- /dev/null +++ b/roles/gopass/files/config.yml @@ -0,0 +1,9 @@ +autoclip: false +autoimport: false +cliptimeout: 45 +exportkeys: true +nopager: false +notifications: true +parsing: true +path: /var/lib/gopass/.password-store +safecontent: false diff --git a/roles/gopass/tasks/main.yml b/roles/gopass/tasks/main.yml index 93fabd9..ac3a1ed 100644 --- a/roles/gopass/tasks/main.yml +++ b/roles/gopass/tasks/main.yml @@ -17,3 +17,17 @@ repo: git@git.narwhal.monotremata.xyz:lan/password-store.git dest: /var/lib/gopass/.password-store become_user: gopass + +- name: make gopass config directory + file: + state: directory + path: /var/lib/gopass/.config/gopass + owner: gopass + group: gopass + +- name: copy gopass config + copy: + src: config.yml + dest: /var/lib/gopass/.config/gopass/config.yml + owner: gopass + group: gopass