From ebaa897f1abbf604afaedcba52953c8d898daee3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Kalu=C5=BEa?= Date: Mon, 19 Mar 2018 07:17:04 +0000 Subject: [PATCH] Use basename when referencing MBS default module --- roles/mbs/common/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/mbs/common/tasks/main.yml b/roles/mbs/common/tasks/main.yml index f0a35f71a7..0acd97671c 100644 --- a/roles/mbs/common/tasks/main.yml +++ b/roles/mbs/common/tasks/main.yml @@ -95,7 +95,7 @@ - default-modules.{{ env }}/*.yaml - name: import default-modules - command: /usr/bin/mbs-manager import_module /etc/module-build-service/default-modules/{{ item | filename }} + command: /usr/bin/mbs-manager import_module /etc/module-build-service/default-modules/{{ item | basename }} with_fileglob: - default-modules.{{ env }}/*.yaml