1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_gopass.git synced 2024-09-14 20:06:42 +02:00
ansible_role_gopass/tasks/gopass-install/install-gopass-default.yml
L3D e23bb7d8dd Optional install zbar toling
zbar tools can be used to read qrcodes. You could need that to scan OTP Secrets.
2023-09-30 14:46:20 +02:00

56 lines
1.2 KiB
YAML

---
- name: Install requirements for gopass
become: true
ansible.builtin.package:
name: "{{ item }}"
state: present
with_items:
- git
- gnupg
- rng-tools
- xsel
- xclip
- name: Install Gopass
ansible.builtin.package:
name: "{{ item }}"
state: present
become: true
with_items:
- gopass
- name: Install gopass-jsonapi for browser integration
ansible.builtin.package:
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.package:
name: "{{ item }}"
state: present
become: true
with_items:
- gopass-hibp
when: gopass__install_haveibeenpwnd | bool
- 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
- 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