2023-09-29 21:42:25 +02:00
|
|
|
---
|
2023-10-28 17:20:20 +02:00
|
|
|
- name: Install requirements for gopass # noqa: H1901
|
2023-09-29 21:42:25 +02:00
|
|
|
become: true
|
|
|
|
community.general.pacman:
|
|
|
|
name: "{{ item }}"
|
2023-10-28 17:20:20 +02:00
|
|
|
state: 'present'
|
2023-09-29 21:42:25 +02:00
|
|
|
update_cache: true
|
2023-10-28 17:20:20 +02:00
|
|
|
loop: "{{ gopass__required_archlinux_packages }}"
|
2023-09-29 21:42:25 +02:00
|
|
|
|
2023-10-28 17:20:20 +02:00
|
|
|
- name: Install Gopass # noqa: H1901
|
2023-09-29 21:42:25 +02:00
|
|
|
community.general.pacman:
|
|
|
|
name: "{{ item }}"
|
2023-10-28 17:20:20 +02:00
|
|
|
state: 'present'
|
2023-09-29 21:42:25 +02:00
|
|
|
become: true
|
2023-10-28 17:20:20 +02:00
|
|
|
loop:
|
|
|
|
- 'gopass'
|
2023-09-29 21:42:25 +02:00
|
|
|
|
2023-10-28 17:20:20 +02:00
|
|
|
- name: Install gopass-jsonapi for browser integration # noqa: H1901
|
2023-09-29 21:42:25 +02:00
|
|
|
community.general.pacman:
|
|
|
|
name: "{{ item }}"
|
2023-10-28 17:20:20 +02:00
|
|
|
state: 'present'
|
2023-09-29 21:42:25 +02:00
|
|
|
become: true
|
2023-10-28 17:20:20 +02:00
|
|
|
loop:
|
|
|
|
- 'gopass-jsonapi'
|
2023-09-29 21:42:25 +02:00
|
|
|
when: gopass__install_jsonapi | bool
|
|
|
|
|
2023-10-28 17:20:20 +02:00
|
|
|
- name: Install gopass-hibp for haveibeenpwnd.com integration # noqa: H1901
|
2023-09-29 21:42:25 +02:00
|
|
|
community.general.pacman:
|
|
|
|
name: "{{ item }}"
|
2023-10-28 17:20:20 +02:00
|
|
|
state: 'present'
|
2023-09-29 21:42:25 +02:00
|
|
|
become: true
|
2023-10-28 17:20:20 +02:00
|
|
|
loop:
|
|
|
|
- 'gopass-hibp'
|
2023-09-29 21:42:25 +02:00
|
|
|
when: gopass__install_haveibeenpwnd | bool
|
|
|
|
|
2023-10-28 17:20:20 +02:00
|
|
|
- name: Install git-credential-gopass as git-credentials helper # noqa: H1901
|
2023-09-29 21:42:25 +02:00
|
|
|
community.general.pacman:
|
|
|
|
name: "{{ item }}"
|
2023-10-28 17:20:20 +02:00
|
|
|
state: 'present'
|
2023-09-29 21:42:25 +02:00
|
|
|
become: true
|
2023-10-28 17:20:20 +02:00
|
|
|
loop:
|
|
|
|
- 'git-credential-gopass'
|
2023-09-29 21:42:25 +02:00
|
|
|
when: gopass__install_git_credential | bool
|
2023-09-30 14:46:20 +02:00
|
|
|
|
2023-10-28 17:20:20 +02:00
|
|
|
- name: Install zbar-tools for QR CodeReading using OTP Secrets # noqa: H1901
|
2023-09-30 14:46:20 +02:00
|
|
|
community.general.pacman:
|
|
|
|
name: "{{ item }}"
|
2023-10-28 17:20:20 +02:00
|
|
|
state: 'present'
|
2023-09-30 14:46:20 +02:00
|
|
|
become: true
|
2023-10-28 17:20:20 +02:00
|
|
|
loop:
|
|
|
|
- 'zbar-tools'
|
2023-09-30 14:46:20 +02:00
|
|
|
when: gopass__install_zbar_tools | bool
|