From 824639308e86bf67eb44911ff5f7b8b2b37623e5 Mon Sep 17 00:00:00 2001 From: Jonathan Rosser Date: Tue, 15 Aug 2023 15:07:18 +0100 Subject: [PATCH] Rename _package_list variable This is renamed to be more specific to the wheel build process and not to collied with similarly named variables in other ansible roles. Change-Id: I470507ed904bca1845fdccc9494cc62bc10229b7 --- tasks/python_venv_wheel_build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tasks/python_venv_wheel_build.yml b/tasks/python_venv_wheel_build.yml index d6287de..e74588a 100644 --- a/tasks/python_venv_wheel_build.yml +++ b/tasks/python_venv_wheel_build.yml @@ -19,14 +19,14 @@ block: - name: Install distro packages for wheel build vars: - _package_list: "{{ venv_build_base_distro_package_list | union(venv_build_distro_package_list) }}" + _python_wheel_build_package_list: "{{ venv_build_base_distro_package_list | union(venv_build_distro_package_list) }}" package: - name: "{{ _package_list }}" + name: "{{ _python_wheel_build_package_list }}" state: "{{ venv_distro_package_state }}" update_cache: "{{ (ansible_facts['pkg_mgr'] == 'apt') | ternary('yes', omit) }}" cache_valid_time: "{{ (ansible_facts['pkg_mgr'] == 'apt') | ternary(venv_distro_cache_valid_time, omit) }}" when: - - _package_list | length > 0 + - _python_wheel_build_package_list | length > 0 register: _install_build_distro_packages until: _install_build_distro_packages is success retries: 5