Open yangxinyun opened 1 month ago
When win_package path argument is pointing to a URL and state argument is set to absent, this module will exit without doing uninstallation via downloading the URL specified software package and issue uninstall command as per the arguments
win_package
ansible-core 2.11
Ansible.Windows version 2.5.0
NA
RedHat Linux
- name: Uninstall python ansible.windows.win_package: path: https://www.python.org/ftp/python/3.11.0/python-3.11.0-amd64.exe arguments: - /uninstall - /quiet state: absent
python installed by https://www.python.org/ftp/python/3.11.0/python-3.11.0-amd64.exe is removed accordingly.
nothing happened, the module exit without any change
SUMMARY
When win_package path argument is pointing to a URL and state argument is set to absent, this module will exit without doing uninstallation via downloading the URL specified software package and issue uninstall command as per the arguments
ISSUE TYPE
COMPONENT NAME
win_package
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
RedHat Linux
STEPS TO REPRODUCE
EXPECTED RESULTS
python installed by https://www.python.org/ftp/python/3.11.0/python-3.11.0-amd64.exe is removed accordingly.
ACTUAL RESULTS