ansible/roles/gopass/tasks/main.yml

34 lines
666 B
YAML
Raw Normal View History

2022-09-17 18:03:17 +02:00
---
- name: install gopass
2022-09-18 18:06:15 +02:00
include_tasks: install.yml
2022-09-19 08:48:00 +02:00
- name: copy ssh keys
include_tasks: ssh_keys.yml
- name: gitconfig
include_tasks: gitconfig.yml
2022-09-21 18:24:00 +02:00
- name: import gpg keys
include_tasks: gnupg.yml
2022-09-21 18:31:13 +02:00
- name: clone password store
git:
repo: git@git.narwhal.monotremata.xyz:lan/password-store.git
dest: /var/lib/gopass/.password-store
become_user: gopass
2022-09-21 18:38:47 +02:00
- 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