templier-ansible/roles/pass/tasks/main.yml

19 lines
332 B
YAML
Raw Normal View History

2021-01-29 00:08:39 +00:00
---
- name: Queries package manager to install pass
package:
name:
- jq
2021-01-29 00:08:39 +00:00
- git
- pass
2021-01-29 00:08:39 +00:00
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 }}'