toansible: Add secrets-repo installation and add as dependency to protonvpn
This commit is contained in:
parent
f531c08f23
commit
0d03478c84
5 changed files with 13 additions and 4 deletions
|
@ -26,10 +26,6 @@ etckeeper:
|
||||||
- sudo etckeeper commit "First commit"
|
- sudo etckeeper commit "First commit"
|
||||||
|
|
||||||
repos:
|
repos:
|
||||||
- clone:
|
|
||||||
url: git@tunuifranken.info:flyingscorpio/secrets.git
|
|
||||||
dest: ~/src/secrets
|
|
||||||
branch: main
|
|
||||||
- symlink:
|
- symlink:
|
||||||
- ~/src/secrets/setup-cockpit/repos.yml
|
- ~/src/secrets/setup-cockpit/repos.yml
|
||||||
- ~/setup-cockpit/repos.yml
|
- ~/setup-cockpit/repos.yml
|
||||||
|
|
|
@ -5,6 +5,8 @@
|
||||||
tags: base
|
tags: base
|
||||||
- role: git
|
- role: git
|
||||||
tags: git
|
tags: git
|
||||||
|
- role: secrets-repo
|
||||||
|
tags: secrets-repo
|
||||||
- role: bash
|
- role: bash
|
||||||
tags: bash
|
tags: bash
|
||||||
- role: zsh
|
- role: zsh
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
---
|
---
|
||||||
dependencies:
|
dependencies:
|
||||||
- role: git
|
- role: git
|
||||||
|
- role: secrets-repo
|
||||||
|
|
3
roles/secrets-repo/meta/main.yml
Normal file
3
roles/secrets-repo/meta/main.yml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
---
|
||||||
|
dependencies:
|
||||||
|
- role: git
|
7
roles/secrets-repo/tasks/main.yml
Normal file
7
roles/secrets-repo/tasks/main.yml
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
- name: Clone repo
|
||||||
|
git:
|
||||||
|
repo: git@tunuifranken.info:flyingscorpio/secrets.git
|
||||||
|
dest: ~/src/secrets
|
||||||
|
version: main
|
||||||
|
clone: yes
|
Loading…
Add table
Reference in a new issue