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/plugins
Martin Budsjö 77c29a1542
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
..
become Update sesu.py: use defined prompt (#227) 2020-05-28 23:09:11 +01:00
cache redis cache - add support for TLS/encryption in transit (#410) 2020-05-30 12:26:37 +02:00
callback Bug/syslog json exception (#408) 2020-05-25 07:47:01 +02:00
connection Fix the environment variable 2020-05-19 22:37:17 -07:00
doc_fragments Un-remove wrongly removed ovirt modules and adjust deprecation to Ansible 2.14 (#353) 2020-05-18 20:43:50 +01:00
filter time_filter: improve hints in error message (#368) 2020-05-20 09:22:56 +02:00
inventory Add validity check for [Driver][IPAddress] else use docker-machine ip command. (#412) 2020-05-25 23:04:09 +02:00
lookup Fix the docs for dig and nios. 2020-05-20 13:16:51 -07:00
module_utils scaleway: Fix case mismatch causing key lookup failure (#445) 2020-06-02 14:09:58 +01:00
modules Added 'extra_install_args' module option to allow extra upgrade/install specific zypper arguments (#382) 2020-06-05 08:01:21 +02:00