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" echo "Deploying services: $2"
$BASE_CMD --tags setup_services --extra-vars "services=$2" $BASE_CMD --tags setup_services --extra-vars "services=$2"
fi fi
;;
"base")
$BASE_CMD --tags base_only
;;
esac esac
fi fi

View file

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