Compare commits
2 Commits
6f8ee3627d
...
c72e1bb34f
Author | SHA1 | Date | |
---|---|---|---|
c72e1bb34f | |||
d2d2b2c845 |
9
roles/bash/tasks/main.yml
Normal file
9
roles/bash/tasks/main.yml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
- name: Install additional packages
|
||||||
|
package:
|
||||||
|
name: "{{ item }}"
|
||||||
|
state: present
|
||||||
|
loop:
|
||||||
|
- bash
|
||||||
|
- bash-completion
|
23
roles/passwordstore/tasks/main.yml
Normal file
23
roles/passwordstore/tasks/main.yml
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
- name: Install package
|
||||||
|
package:
|
||||||
|
name: pass
|
||||||
|
state: present
|
||||||
|
|
||||||
|
- name: Initialise password store
|
||||||
|
command:
|
||||||
|
cmd: "pass init {{ passwordstore_id }}"
|
||||||
|
|
||||||
|
- name: Set password store git upstream
|
||||||
|
command:
|
||||||
|
cmd: "pass git remote set origin ssh://git@git.finallycoffee.eu:8022/{{ ansible_user }}/password-store.git"
|
||||||
|
|
||||||
|
- name: Fetch upstream password store
|
||||||
|
command:
|
||||||
|
cmd: "pass git fetch --all"
|
||||||
|
|
||||||
|
- name: Set master to upstream master
|
||||||
|
command:
|
||||||
|
cmd: "pass git checkout -B master origin/master"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user