home lab init
This commit is contained in:
commit
7278922625
65 changed files with 27336 additions and 0 deletions
15
ansible/roles/common/tasks/main.yml
Normal file
15
ansible/roles/common/tasks/main.yml
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
- name: Ensure /etc/sops exists
|
||||
file:
|
||||
path: /etc/sops
|
||||
state: directory
|
||||
owner: root
|
||||
group: root
|
||||
mode: "0700"
|
||||
|
||||
- name: Upload age key
|
||||
copy:
|
||||
src: files/age.key
|
||||
dest: /etc/sops/age.key
|
||||
owner: root
|
||||
group: root
|
||||
mode: "0600"
|
||||
Loading…
Add table
Add a link
Reference in a new issue