Adding configuration script
This commit is contained in:
@@ -16,7 +16,7 @@ setup-host:
|
||||
test:
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
roles=(authentik common forgejo graylog headscale jitsi matrix minio nextcloud roundcube stalwart vaultwarden wazuh website)
|
||||
roles=(authentik common dns forgejo graylog headscale jitsi matrix minio nextcloud roundcube stalwart vaultwarden wazuh website)
|
||||
failed=()
|
||||
for role in "${roles[@]}"; do
|
||||
echo "==> Testing role: $role"
|
||||
@@ -49,3 +49,11 @@ check:
|
||||
# Lint the project
|
||||
lint:
|
||||
ansible-lint
|
||||
|
||||
# Interactively generate a new group_vars/all.yml for a deployment
|
||||
configure:
|
||||
python3 configure.py
|
||||
|
||||
# Generate group_vars to a custom path: just configure-to /tmp/all.yml
|
||||
configure-to path:
|
||||
python3 configure.py -o {{ path }}
|
||||
|
||||
Reference in New Issue
Block a user