Compare commits

..

2 Commits

Author SHA1 Message Date
Ricard Illa 9f6c2dc7b2 feat: added media group 2023-06-09 12:57:00 +02:00
Ricard Illa 078c1d7b03 feat: optionally get password from file 2023-06-09 12:56:49 +02:00
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,8 @@
#!/bin/sh
PASSFILE="/srv/secrets/ansible_vault_pass"
if [ -f "$PASSFILE" ]; then
doas cat "$PASSFILE"
else
pass ansible-vault
fi

View File

@ -4,6 +4,11 @@
name: deploy
gid: 700
- name: create group 'media'
group:
name: deploy
gid: 701
- name: determine available groups
getent:
database: group