diff --git a/tasks/main.yml b/tasks/main.yml index 49204ab..c7079be 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -78,15 +78,6 @@ ansible.builtin.include_tasks: file: "archive/{{ pkg }}.yml" -- name: Build and install source packages - when: - - pkg_src|length > 0 - loop: "{{ pkg_src | unique }}" - loop_control: - loop_var: pkg - ansible.builtin.include_tasks: - file: "src/{{ pkg }}.yml" - - name: Install cargo packages when: - pkg_cargo|length > 0 @@ -121,6 +112,15 @@ ansible.builtin.include_tasks: file: pipx.yml +- name: Build and install source packages + when: + - pkg_src|length > 0 + loop: "{{ pkg_src | unique }}" + loop_control: + loop_var: pkg + ansible.builtin.include_tasks: + file: "src/{{ pkg }}.yml" + - name: Cleanup {{ d_tempdir.path }} ansible.builtin.file: state: absent