modified: tasks/setupacdc.yml
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
ansible.builtin.package:
|
ansible.builtin.package:
|
||||||
# Use the appropriate package name based on the distribution
|
# Use the appropriate package name based on the distribution
|
||||||
name: "{{ __pip_package_name }}"
|
name: "{{ __pip_package_name }}"
|
||||||
state: present
|
state: absent
|
||||||
vars:
|
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 %}"
|
__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
|
# Ensure the package manager cache is updated before installation, especially on Debian/Ubuntu
|
||||||
|
|||||||
Reference in New Issue
Block a user