2021-01-29 00:08:39 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
- name: Queries package manager to install pass
|
|
|
|
package:
|
|
|
|
name:
|
2021-03-20 23:42:38 +00:00
|
|
|
- jq
|
2021-01-29 00:08:39 +00:00
|
|
|
- git
|
2021-03-20 23:42:38 +00:00
|
|
|
- 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 }}'
|
2021-03-17 23:25:44 +00:00
|
|
|
umask: '0066'
|
|
|
|
become_user: '{{ user.name }}'
|