Compare commits
2 Commits
1a369e1741
...
9f6c2dc7b2
Author | SHA1 | Date |
---|---|---|
Ricard Illa | 9f6c2dc7b2 | |
Ricard Illa | 078c1d7b03 |
|
@ -1,3 +1,8 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
PASSFILE="/srv/secrets/ansible_vault_pass"
|
||||||
|
if [ -f "$PASSFILE" ]; then
|
||||||
|
doas cat "$PASSFILE"
|
||||||
|
else
|
||||||
pass ansible-vault
|
pass ansible-vault
|
||||||
|
fi
|
||||||
|
|
|
@ -4,6 +4,11 @@
|
||||||
name: deploy
|
name: deploy
|
||||||
gid: 700
|
gid: 700
|
||||||
|
|
||||||
|
- name: create group 'media'
|
||||||
|
group:
|
||||||
|
name: deploy
|
||||||
|
gid: 701
|
||||||
|
|
||||||
- name: determine available groups
|
- name: determine available groups
|
||||||
getent:
|
getent:
|
||||||
database: group
|
database: group
|
||||||
|
|
Loading…
Reference in New Issue