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

52 lines
1.2 KiB
YAML
Raw Normal View History

---
- name: Install requirements for gopass
become: true
ansible.builtin.package:
name: "{{ item }}"
2023-10-28 17:20:20 +02:00
state: 'present'
loop: "{{ gopass__required_packages }}"
- name: Install Gopass
2023-09-29 21:42:25 +02:00
ansible.builtin.package:
name: "{{ item }}"
2023-10-28 17:20:20 +02:00
state: 'present'
become: true
2023-10-28 17:20:20 +02:00
loop:
- 'gopass'
- name: Install gopass-jsonapi for browser integration
2023-09-29 21:42:25 +02:00
ansible.builtin.package:
name: "{{ item }}"
2023-10-28 17:20:20 +02:00
state: 'present'
become: true
2023-10-28 17:20:20 +02:00
loop:
- '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:
name: "{{ item }}"
2023-10-28 17:20:20 +02:00
state: 'present'
become: true
2023-10-28 17:20:20 +02:00
loop:
- '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 }}"
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
- name: Install zbar-tools for QR CodeReading using OTP Secrets
ansible.builtin.package:
name: "{{ item }}"
2023-10-28 17:20:20 +02:00
state: 'present'
become: true
2023-10-28 17:20:20 +02:00
loop:
- 'zbar-tools'
when: gopass__install_zbar_tools | bool