ansible/roles/gopass/tasks/main.yml

34 lines
666 B
YAML

---
- name: install gopass
include_tasks: install.yml
- name: copy ssh keys
include_tasks: ssh_keys.yml
- name: gitconfig
include_tasks: gitconfig.yml
- name: import gpg keys
include_tasks: gnupg.yml
- name: clone password store
git:
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