From 6cac57184db0fb39167f1c5476d13ba93b1a4bfd Mon Sep 17 00:00:00 2001 From: "Pietsch, Martin" <martin.pietsch@tu-dresden.de> Date: Fri, 4 Oct 2019 13:43:45 +0200 Subject: [PATCH] execute cleanup tasks after the execution of the parent tasks --- tasks/finaliseinstaller.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tasks/finaliseinstaller.yml b/tasks/finaliseinstaller.yml index d8382d7..ce0cbf9 100644 --- a/tasks/finaliseinstaller.yml +++ b/tasks/finaliseinstaller.yml @@ -16,6 +16,10 @@ loop_control: loop_var: _linux_dist_arch +- include_role: + name: system + tasks_from: installer + - name: cleanup installers build root directory file: path: "{{ linux_build_installer_root }}" @@ -26,6 +30,3 @@ path: "{{ _linux_installer_image_file.path }}" state: absent -- include_role: - name: system - tasks_from: installer -- GitLab