templier-ansible/roles/pass/tasks/main.yml
Yohann D'ANELLO 57b83cb58e
Explicit permissions
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2021-03-18 00:28:19 +01:00

18 lines
321 B
YAML

---
- name: Queries package manager to install pass
package:
name:
- pass
- git
register: pkg_result
retries: 3
until: pkg_result is succeeded
- name: Clone git pass repository
git:
repo: '{{ pass.upstream }}'
dest: '{{ pass.dest }}'
umask: '0066'
become_user: '{{ user.name }}'