From aecb929dbb4c5858cceac18baf2c94969b7f9b76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=AD=C3=B0ir=20Valberg=20Gu=C3=B0mundsson?= Date: Fri, 11 Nov 2022 22:16:22 +0100 Subject: [PATCH] Add a way to only run the base role. --- deploy.sh | 4 ++++ playbook.yml | 2 ++ 2 files changed, 6 insertions(+) diff --git a/deploy.sh b/deploy.sh index ab7c377..2a36b0e 100755 --- a/deploy.sh +++ b/deploy.sh @@ -15,5 +15,9 @@ else echo "Deploying services: $2" $BASE_CMD --tags setup_services --extra-vars "services=$2" fi + ;; + "base") + $BASE_CMD --tags base_only + ;; esac fi diff --git a/playbook.yml b/playbook.yml index fe577fc..1b98c5d 100644 --- a/playbook.yml +++ b/playbook.yml @@ -35,5 +35,7 @@ tasks: - import_role: name: ubuntu_base + tags: + - base_only - import_role: name: docker