From a10734a0d28c9e70a77aec4be0e056b1f571a77d Mon Sep 17 00:00:00 2001 From: Sebastian Jug Date: Mon, 7 Sep 2026 09:51:07 -0400 Subject: [PATCH] USHIFT-7499: fix service-account lookup Invoke create-service-account with include_role so Ansible resolves metrics-sa.yaml in the role's files directory. Including its task file directly retains the microshift-start role context and cannot find the manifest after the directory move in #7185. This restores service-account creation during deployment and metrics collection without changing the manifest or its location. Signed-off-by: Sebastian Jug --- ansible/roles/microshift-start/tasks/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ansible/roles/microshift-start/tasks/main.yml b/ansible/roles/microshift-start/tasks/main.yml index 622ba4af82..395d9d692a 100644 --- a/ansible/roles/microshift-start/tasks/main.yml +++ b/ansible/roles/microshift-start/tasks/main.yml @@ -94,7 +94,8 @@ reboot: false - name: create service account task(s) - include_tasks: roles/create-service-account/tasks/main.yml + ansible.builtin.include_role: + name: create-service-account - name: finish pbench capture become: yes