Initialise repository structure and placeholder files. Generic functionality works i guess, need to come up with a better solution for compose templates

This commit is contained in:
boris committed 2026-07-08 10:29:51 +01:00
commit 53695f4fff
411 files changed
+7817

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
#!/usr/bin/env sh
set -eu
REPO_URL="${REPO_URL:?Set REPO_URL to the nbops-ansible Git URL}"
PLAYBOOK="${PLAYBOOK:-playbooks/pull.yml}"
BRANCH="${BRANCH:-main}"
ansible-pull \
-U "$REPO_URL" \
-C "$BRANCH" \
-i localhost, \
-c local \
"$PLAYBOOK" \
--accept-host-key
+9
View File
@@ -0,0 +1,9 @@
#!/usr/bin/env sh
set -eu
ansible-playbook --syntax-check playbooks/site.yml
if command -v ansible-lint >/dev/null 2>&1; then
ansible-lint
fi