1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_gopass.git synced 2024-09-14 20:06:42 +02:00

Adding some gopass integrations

This commit is contained in:
L3D 2023-09-29 21:12:00 +02:00
parent 6bc44923ed
commit aed718dd37
Signed by: l3d
GPG key ID: CD08445BFF4313D1
2 changed files with 31 additions and 0 deletions

View file

@ -1,4 +1,7 @@
--- ---
gopass__add_apt_repo: true gopass__add_apt_repo: true
gopass__install_jsonapi: true
gopass__install_haveibeenpwnd: true
# should we do a version check? (recomended) # should we do a version check? (recomended)
submodules_versioncheck: false submodules_versioncheck: false

View file

@ -4,6 +4,16 @@
ansible.builtin.apt: ansible.builtin.apt:
cache_valid_time: 3600 cache_valid_time: 3600
- name: Add reuirements for gopass
become: true
ansible.builtin.apt:
name: "{{ item }}"
state: present
with_items:
- git
- gnupg2
- rng-tools
- name: Adding Gopass Package Repository - name: Adding Gopass Package Repository
when: gopass__add_apt_repo | bool when: gopass__add_apt_repo | bool
block: block:
@ -37,3 +47,21 @@
with_items: with_items:
- gopass-archive-keyring - gopass-archive-keyring
- gopass - gopass
- name: Install gopass-jsonapi for browser integration
ansible.builtin.apt:
name: "{{ item }}"
state: present
become: true
with_items:
- gopass-jsonapi
when: gopass__install_jsonapi | bool
- name: Install gopass-hibp for haveibeenpwnd.com integration
ansible.builtin.apt:
name: "{{ item }}"
state: present
become: true
with_items:
- gopass-hibp
when: gopass__install_haveibeenpwnd | bool