1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/changelogs/fragments/382-install_upgrade_specific_args.yaml

3 lines
164 B
YAML
Raw Normal View History

Added 'extra_install_args' module option to allow extra upgrade/install specific zypper arguments (#382) * Added 'extra_install_args' option to allow extra upgrade/install Example zypper args for this is * --allow-vendor-change * --replacefiles and * --force-resolution * Fix comment issue.. * Change extra_install_args option to a list. Improved doc. * Update plugins/modules/packaging/os/zypper.py Co-authored-by: Felix Fontein <felix@fontein.de> * Update plugins/modules/packaging/os/zypper.py Co-authored-by: Felix Fontein <felix@fontein.de> * Switch from using extra_install_args to individual module options. * Fix syntax errors and limit 'allow-vendor-change' to 'dist-upgrade' * Removed un-needed import * Added changelog fragment * Added tests for zypper replacefiles and allow_vendor_change options * Removed dist-upgrade as it changes the test environment. And it is hard to undo. * Added proper test of replacefiles zypper option Buiding two rpm packages containing same file path but with different content. Making sure we fail to install them without the replacefiles options and that we succeed using it. * Make sure to create directory before writing files * Fix indentation of ignore_errors * Correct genereated rpm file name * Improved duplicate file assertions * Ensure no previous netcat package still exists. * Corrected naming of example task. * Fix variable name typo. * Fix proper duplicate_content access * Make sure to clean up duplicate rpms after tests. * Removed debug * Removed version_added of option allow_vendor_change and replacefiles Co-authored-by: Felix Fontein <felix@fontein.de>
2020-06-05 08:01:21 +02:00
minor_changes:
- zypper - Added ``allow_vendor_change`` and ``replacefiles`` zypper options (https://github.com/ansible-collections/community.general/issues/381)