2023-09-29 21:28:20 +02:00
|
|
|
---
|
|
|
|
- name: Install requirements for gopass
|
|
|
|
become: true
|
|
|
|
ansible.builtin.package:
|
|
|
|
name: "{{ item }}"
|
|
|
|
state: present
|
|
|
|
with_items:
|
|
|
|
- git
|
2023-09-29 21:42:25 +02:00
|
|
|
- gnupg
|
2023-09-29 21:28:20 +02:00
|
|
|
- rng-tools
|
|
|
|
- xsel
|
|
|
|
- xclip
|
|
|
|
|
|
|
|
- name: Install Gopass
|
2023-09-29 21:42:25 +02:00
|
|
|
ansible.builtin.package:
|
2023-09-29 21:28:20 +02:00
|
|
|
name: "{{ item }}"
|
|
|
|
state: present
|
|
|
|
become: true
|
|
|
|
with_items:
|
|
|
|
- gopass
|
|
|
|
|
|
|
|
- name: Install gopass-jsonapi for browser integration
|
2023-09-29 21:42:25 +02:00
|
|
|
ansible.builtin.package:
|
2023-09-29 21:28:20 +02:00
|
|
|
name: "{{ item }}"
|
|
|
|
state: present
|
|
|
|
become: true
|
|
|
|
with_items:
|
|
|
|
- gopass-jsonapi
|
|
|
|
when: gopass__install_jsonapi | bool
|
|
|
|
|
|
|
|
- name: Install gopass-hibp for haveibeenpwnd.com integration
|
2023-09-29 21:42:25 +02:00
|
|
|
ansible.builtin.package:
|
2023-09-29 21:28:20 +02:00
|
|
|
name: "{{ item }}"
|
|
|
|
state: present
|
|
|
|
become: true
|
|
|
|
with_items:
|
|
|
|
- gopass-hibp
|
|
|
|
when: gopass__install_haveibeenpwnd | bool
|
2023-09-29 21:42:25 +02:00
|
|
|
|
|
|
|
- name: Install git-credential-gopass as git-credentials helper
|
|
|
|
ansible.builtin.package:
|
|
|
|
name: "{{ item }}"
|
|
|
|
state: present
|
|
|
|
become: true
|
|
|
|
with_items:
|
|
|
|
- git-credential-gopass
|
|
|
|
when: gopass__install_git_credential | bool
|
2023-09-30 14:46:20 +02:00
|
|
|
|
|
|
|
- name: Install zbar-tools for QR CodeReading using OTP Secrets
|
|
|
|
ansible.builtin.package:
|
|
|
|
name: "{{ item }}"
|
|
|
|
state: present
|
|
|
|
become: true
|
|
|
|
with_items:
|
|
|
|
- zbar-tools
|
|
|
|
when: gopass__install_zbar_tools | bool
|