modified: tasks/setupacdc.yml

This commit is contained in:
2025-10-22 17:45:07 +02:00
parent 7699e7f435
commit d87a47af2d

View File

@@ -9,7 +9,7 @@
ansible.builtin.package:
# Use the appropriate package name based on the distribution
name: "{{ __pip_package_name }}"
state: present
state: absent
vars:
__pip_package_name: "{% if ansible_os_family == 'Debian' %}python3-pip{% elif ansible_os_family == 'RedHat' %}python3-pip{% elif ansible_os_family == 'Suse' %}python3-pip{% else %}python3-pip{% endif %}"
# Ensure the package manager cache is updated before installation, especially on Debian/Ubuntu