From eb56baefed4b4474655e74d94fcbd1681901eb72 Mon Sep 17 00:00:00 2001 From: Damian Dabrowski Date: Sun, 4 Jun 2023 16:42:27 +0200 Subject: [PATCH] Allow to run only specific tags from bootstrap-host role Bootstrap-host role has some tags defined but running only specific set of tags is not possible. In this case, gather_nodepool_vars.yml should be always executed because it defines `nodepool_dir` variable that is later used by the `user_variables.aio.yml.j2` template. Change-Id: I8ae0a256d9f6138f5764b2f69d1e767af538a429 --- tests/roles/bootstrap-host/tasks/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/roles/bootstrap-host/tasks/main.yml b/tests/roles/bootstrap-host/tasks/main.yml index 1390a253f1..ba5690d5b2 100644 --- a/tests/roles/bootstrap-host/tasks/main.yml +++ b/tests/roles/bootstrap-host/tasks/main.yml @@ -42,6 +42,8 @@ - name: Gather nodepool variables import_tasks: gather_nodepool_vars.yml + tags: + - always - name: Create the required directories file: