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