Add a way to only run the base role.

This commit is contained in:
Víðir Valberg Guðmundsson 2022-11-11 22:16:22 +01:00
parent f905696264
commit aecb929dbb
2 changed files with 6 additions and 0 deletions

View File

@ -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

View File

@ -35,5 +35,7 @@
tasks:
- import_role:
name: ubuntu_base
tags:
- base_only
- import_role:
name: docker