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/tests/integration/targets
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
..
aix_devices Initial commit 2020-03-09 09:11:07 +00:00
aix_filesystem Initial commit 2020-03-09 09:11:07 +00:00
alternatives Initial commit 2020-03-09 09:11:07 +00:00
apache2_module Fix more tests (#66) 2020-03-30 11:06:48 +02:00
archive Fix more tests (#66) 2020-03-30 11:06:48 +02:00
callback_log_plays Shippable: community/general (#12) 2020-03-17 08:59:17 +00:00
cloud_init_data_facts Fix even more tests (#69) 2020-03-30 08:24:27 +01:00
cloudscale_common Fix more tests (#66) 2020-03-30 11:06:48 +02:00
cloudscale_floating_ip Initial commit 2020-03-09 09:11:07 +00:00
cloudscale_server Initial commit 2020-03-09 09:11:07 +00:00
cloudscale_server_group Initial commit 2020-03-09 09:11:07 +00:00
cloudscale_volume Initial commit 2020-03-09 09:11:07 +00:00
connection Initial commit 2020-03-09 09:11:07 +00:00
connection_chroot Fix even more tests (#69) 2020-03-30 08:24:27 +01:00
connection_docker Fix FQCRs. (#64) 2020-03-29 13:02:28 +02:00
connection_jail Fix FQCRs. (#64) 2020-03-29 13:02:28 +02:00
connection_lxc Fix FQCRs. (#64) 2020-03-29 13:02:28 +02:00
connection_lxd Fix FQCRs. (#64) 2020-03-29 13:02:28 +02:00
connection_posix Initial commit 2020-03-09 09:11:07 +00:00
consul Reenable consul test, fix issues with a hack (#231) 2020-04-24 08:42:44 +02:00
cronvar Initial commit 2020-03-09 09:11:07 +00:00
deploy_helper Initial commit 2020-03-09 09:11:07 +00:00
digital_ocean_floating_ip Initial commit 2020-03-09 09:11:07 +00:00
digital_ocean_sshkey Initial commit 2020-03-09 09:11:07 +00:00
digital_ocean_tag Initial commit 2020-03-09 09:11:07 +00:00
docker_config Don't die when docker CLI doesn't want to work with docker daemon (#366) 2020-05-20 06:40:04 +00:00
docker_container Fix more tests (#66) 2020-03-30 11:06:48 +02:00
docker_container_info Don't die when docker CLI doesn't want to work with docker daemon (#366) 2020-05-20 06:40:04 +00:00
docker_host_info Initial commit 2020-03-09 09:11:07 +00:00
docker_image Initial commit 2020-03-09 09:11:07 +00:00
docker_image_info Initial commit 2020-03-09 09:11:07 +00:00
docker_login Don't die when docker CLI doesn't want to work with docker daemon (#366) 2020-05-20 06:40:04 +00:00
docker_network Initial commit 2020-03-09 09:11:07 +00:00
docker_network_info Don't die when docker CLI doesn't want to work with docker daemon (#366) 2020-05-20 06:40:04 +00:00
docker_node Don't die when docker CLI doesn't want to work with docker daemon (#366) 2020-05-20 06:40:04 +00:00
docker_node_info Initial commit 2020-03-09 09:11:07 +00:00
docker_prune Initial commit 2020-03-09 09:11:07 +00:00
docker_secret Don't die when docker CLI doesn't want to work with docker daemon (#366) 2020-05-20 06:40:04 +00:00
docker_stack Initial commit 2020-03-09 09:11:07 +00:00
docker_swarm Initial commit 2020-03-09 09:11:07 +00:00
docker_swarm_info Initial commit 2020-03-09 09:11:07 +00:00
docker_swarm_service Initial commit 2020-03-09 09:11:07 +00:00
docker_swarm_service_info Initial commit 2020-03-09 09:11:07 +00:00
docker_volume Initial commit 2020-03-09 09:11:07 +00:00
docker_volume_info Don't die when docker CLI doesn't want to work with docker daemon (#366) 2020-05-20 06:40:04 +00:00
etcd3 Disable etcd3 tests. (#323) 2020-05-11 21:37:04 +02:00
filesystem Set pkg_mgr facts manually for FreeBSD and OpenSUSE (#60) 2020-03-29 21:34:10 +02:00
filter_json_query Shippable: community/general (#12) 2020-03-17 08:59:17 +00:00
filter_random_mac Fix even more tests (#69) 2020-03-30 08:24:27 +01:00
filter_time Time filter improvements (#359) 2020-05-19 11:18:49 +02:00
firewalld Set pkg_mgr facts manually for FreeBSD and OpenSUSE (#60) 2020-03-29 21:34:10 +02:00
flatpak Initial commit 2020-03-09 09:11:07 +00:00
flatpak_remote Initial commit 2020-03-09 09:11:07 +00:00
gem Set pkg_mgr facts manually for FreeBSD and OpenSUSE (#60) 2020-03-29 21:34:10 +02:00
git_config Initial commit 2020-03-09 09:11:07 +00:00
github_issue Initial commit 2020-03-09 09:11:07 +00:00
gitlab_deploy_key Initial commit 2020-03-09 09:11:07 +00:00
gitlab_group Initial commit 2020-03-09 09:11:07 +00:00
gitlab_hook Initial commit 2020-03-09 09:11:07 +00:00
gitlab_project Initial commit 2020-03-09 09:11:07 +00:00
gitlab_project_variable gitlab_project_variable: added support for variable_type (#181) 2020-05-25 03:18:19 -07:00
gitlab_runner Initial commit 2020-03-09 09:11:07 +00:00
gitlab_user Initial commit 2020-03-09 09:11:07 +00:00
hg Fix more tests (#66) 2020-03-30 11:06:48 +02:00
homebrew homebrew: Honor update_homebrew value (#112) 2020-04-05 09:23:56 +01:00
hwc_ecs_instance Initial commit 2020-03-09 09:11:07 +00:00
hwc_evs_disk Initial commit 2020-03-09 09:11:07 +00:00
hwc_network_vpc Initial commit 2020-03-09 09:11:07 +00:00
hwc_smn_topic Initial commit 2020-03-09 09:11:07 +00:00
hwc_vpc_eip Initial commit 2020-03-09 09:11:07 +00:00
hwc_vpc_peering_connect Initial commit 2020-03-09 09:11:07 +00:00
hwc_vpc_port Initial commit 2020-03-09 09:11:07 +00:00
hwc_vpc_private_ip Initial commit 2020-03-09 09:11:07 +00:00
hwc_vpc_route Initial commit 2020-03-09 09:11:07 +00:00
hwc_vpc_security_group Initial commit 2020-03-09 09:11:07 +00:00
hwc_vpc_security_group_rule Initial commit 2020-03-09 09:11:07 +00:00
hwc_vpc_subnet Initial commit 2020-03-09 09:11:07 +00:00
influxdb_user Initial commit 2020-03-09 09:11:07 +00:00
ini_file Initial commit 2020-03-09 09:11:07 +00:00
inventory_cloudscale Fix FQCRs. (#64) 2020-03-29 13:02:28 +02:00
inventory_docker_machine Initial commit 2020-03-09 09:11:07 +00:00
inventory_docker_swarm inventory_docker_swarm test - Remove exit code from trap (#391) 2020-05-21 21:48:41 +02:00
inventory_kubevirt Fix more tests (#66) 2020-03-30 11:06:48 +02:00
ipify_facts Initial commit 2020-03-09 09:11:07 +00:00
ipwcli_dns Initial commit 2020-03-09 09:11:07 +00:00
iso_create files: add a new module iso_create (#397) 2020-06-03 10:00:07 +03:00
iso_extract Set pkg_mgr facts manually for FreeBSD and OpenSUSE (#60) 2020-03-29 21:34:10 +02:00
java_cert Initial commit 2020-03-09 09:11:07 +00:00
jboss Initial commit 2020-03-09 09:11:07 +00:00
ldap_search Added ldap_search module for searching in LDAP servers (#126) 2020-04-17 10:53:37 +02:00
listen_ports_facts Initial commit 2020-03-09 09:11:07 +00:00
locale_gen Initial commit 2020-03-09 09:11:07 +00:00
lookup_cartesian Initial commit 2020-03-09 09:11:07 +00:00
lookup_etcd3 Disable etcd3 tests. (#323) 2020-05-11 21:37:04 +02:00
lookup_flattened Initial commit 2020-03-09 09:11:07 +00:00
lookup_hashi_vault hashi_vault refresh - Add AWS login methods, bugfixes, cleanup (#23) 2020-04-28 11:27:37 +00:00
lookup_lmdb_kv Fix FQCRs. (#64) 2020-03-29 13:02:28 +02:00
lookup_passwordstore Fix more tests (#66) 2020-03-30 11:06:48 +02:00
lvg LVG: add new parameter pvresize (#422) 2020-05-29 22:16:23 +03:00
mail Initial commit 2020-03-09 09:11:07 +00:00
mariadb_replication Initial commit 2020-03-09 09:11:07 +00:00
mas Initial commit 2020-03-09 09:11:07 +00:00
memset_dns_reload Initial commit 2020-03-09 09:11:07 +00:00
memset_memstore_info Initial commit 2020-03-09 09:11:07 +00:00
memset_server_info Initial commit 2020-03-09 09:11:07 +00:00
memset_zone Initial commit 2020-03-09 09:11:07 +00:00
memset_zone_domain Initial commit 2020-03-09 09:11:07 +00:00
memset_zone_record Initial commit 2020-03-09 09:11:07 +00:00
mqtt Initial commit 2020-03-09 09:11:07 +00:00
mysql_db Mysql db unsafe passwd (#428) 2020-06-02 09:17:54 +03:00
mysql_info mysql_info: added spaces to CI tests (#146) 2020-04-10 11:30:39 +03:00
mysql_query Initial commit 2020-03-09 09:11:07 +00:00
mysql_replication Initial commit 2020-03-09 09:11:07 +00:00
mysql_user mysql_user: add resource_limits parameter (#142) 2020-04-12 09:43:56 +05:30
mysql_variables Initial commit 2020-03-09 09:11:07 +00:00
nios_a_record Initial commit 2020-03-09 09:11:07 +00:00
nios_aaaa_record Initial commit 2020-03-09 09:11:07 +00:00
nios_cname_record Initial commit 2020-03-09 09:11:07 +00:00
nios_dns_view Initial commit 2020-03-09 09:11:07 +00:00
nios_host_record Initial commit 2020-03-09 09:11:07 +00:00
nios_mx_record Initial commit 2020-03-09 09:11:07 +00:00
nios_naptr_record Initial commit 2020-03-09 09:11:07 +00:00
nios_network Initial commit 2020-03-09 09:11:07 +00:00
nios_network_view Initial commit 2020-03-09 09:11:07 +00:00
nios_ptr_record Initial commit 2020-03-09 09:11:07 +00:00
nios_srv_record Initial commit 2020-03-09 09:11:07 +00:00
nios_txt_record Initial commit 2020-03-09 09:11:07 +00:00
nios_zone Initial commit 2020-03-09 09:11:07 +00:00
npm Set pkg_mgr facts manually for FreeBSD and OpenSUSE (#60) 2020-03-29 21:34:10 +02:00
one_host Initial commit 2020-03-09 09:11:07 +00:00
osx_defaults Initial commit 2020-03-09 09:11:07 +00:00
pids Initial commit 2020-03-09 09:11:07 +00:00
postgresql_copy postgresql_copy: add trust_input parameter (#313) 2020-05-12 09:33:42 +03:00
postgresql_db postgresql_db: add trust_input parameter (#184) 2020-04-20 09:38:35 +03:00
postgresql_ext Add optional input check to postgresql_ext (#282) 2020-05-05 15:04:33 +03:00
postgresql_idx postgresql_idx: add trust_input parameter (#264) 2020-05-05 16:33:06 +03:00
postgresql_info postgresql_info: add the trust_input parameter (#308) 2020-05-09 11:24:20 +03:00
postgresql_lang postgresql_lang: add trust_input parameter (#272) 2020-05-05 16:37:08 +03:00
postgresql_membership postgresql_membership: add trust_input parameter (#158) 2020-04-14 16:45:36 +03:00
postgresql_owner postgresql_owner: fix CI test formatting, return some disappeared comments to place (#246) 2020-04-29 09:07:28 +03:00
postgresql_pg_hba Initial commit 2020-03-09 09:11:07 +00:00
postgresql_ping postgresql_ping: add session_role and trust_input parameters (#312) 2020-05-12 09:34:28 +03:00
postgresql_privs postgresql modules: improve trust_input parameter's documentation, improve CI tests (#309) 2020-05-09 09:25:12 +03:00
postgresql_publication postgresql modules: improve trust_input parameter's documentation, improve CI tests (#309) 2020-05-09 09:25:12 +03:00
postgresql_query postgresql_query: add trust_input parameter (#294) 2020-05-07 12:49:53 +03:00
postgresql_schema postgresql_schema: add trust_input parameter (#259) 2020-05-01 14:09:23 +03:00
postgresql_sequence postgresql_sequence: add trust_input option (#295) 2020-05-07 09:07:49 +03:00
postgresql_set postgresql_set: add trust_input parameter (#302) 2020-05-12 10:03:40 +03:00
postgresql_slot Add trust_input option to postgresql_slot module (#298) 2020-05-07 18:26:15 +03:00
postgresql_subscription postgresql modules: improve trust_input parameter's documentation, improve CI tests (#309) 2020-05-09 09:25:12 +03:00
postgresql_table postgresql_table: add the trust_input parameter (#307) 2020-05-09 11:23:33 +03:00
postgresql_tablespace postgresql_tablespace: add trust_input parameter (#240) 2020-05-01 14:10:13 +03:00
postgresql_user postgresql modules: improve trust_input parameter's documentation, improve CI tests (#309) 2020-05-09 09:25:12 +03:00
postgresql_user_obj_stat_info Add trust_input to postgresql_user_obj_stat_info (#310) 2020-05-10 15:56:19 +03:00
prepare_nios_tests/tasks Initial commit 2020-03-09 09:11:07 +00:00
prepare_nuage_tests/tasks Initial commit 2020-03-09 09:11:07 +00:00
prepare_tests/tasks Initial commit 2020-03-09 09:11:07 +00:00
python_requirements_info Initial commit 2020-03-09 09:11:07 +00:00
read_csv Initial commit 2020-03-09 09:11:07 +00:00
redis_info Add info command to redis module (#286) 2020-05-12 20:18:24 +03:00
scaleway_compute Initial commit 2020-03-09 09:11:07 +00:00
scaleway_image_info Initial commit 2020-03-09 09:11:07 +00:00
scaleway_ip Initial commit 2020-03-09 09:11:07 +00:00
scaleway_ip_info Initial commit 2020-03-09 09:11:07 +00:00
scaleway_lb Initial commit 2020-03-09 09:11:07 +00:00
scaleway_organization_info Initial commit 2020-03-09 09:11:07 +00:00
scaleway_security_group Initial commit 2020-03-09 09:11:07 +00:00
scaleway_security_group_info Initial commit 2020-03-09 09:11:07 +00:00
scaleway_security_group_rule Initial commit 2020-03-09 09:11:07 +00:00
scaleway_server_info Initial commit 2020-03-09 09:11:07 +00:00
scaleway_snapshot_info Initial commit 2020-03-09 09:11:07 +00:00
scaleway_sshkey Initial commit 2020-03-09 09:11:07 +00:00
scaleway_user_data Initial commit 2020-03-09 09:11:07 +00:00
scaleway_volume Initial commit 2020-03-09 09:11:07 +00:00
scaleway_volume_info Initial commit 2020-03-09 09:11:07 +00:00
script_inventory_foreman Fix more tests (#66) 2020-03-30 11:06:48 +02:00
sefcontext Set pkg_mgr facts manually for FreeBSD and OpenSUSE (#60) 2020-03-29 21:34:10 +02:00
sensu_client Initial commit 2020-03-09 09:11:07 +00:00
sensu_handler Initial commit 2020-03-09 09:11:07 +00:00
setup_cron Set pkg_mgr facts manually for FreeBSD and OpenSUSE (#60) 2020-03-29 21:34:10 +02:00
setup_docker Don't die when docker CLI doesn't want to work with docker daemon (#366) 2020-05-20 06:40:04 +00:00
setup_docker_registry Don't die when docker CLI doesn't want to work with docker daemon (#366) 2020-05-20 06:40:04 +00:00
setup_epel/tasks Initial commit 2020-03-09 09:11:07 +00:00
setup_etcd3 add etcd3 lookup plugin (#127) 2020-04-25 10:58:06 +02:00
setup_flatpak_remote Initial commit 2020-03-09 09:11:07 +00:00
setup_influxdb/tasks Initial commit 2020-03-09 09:11:07 +00:00
setup_mosquitto Initial commit 2020-03-09 09:11:07 +00:00
setup_mysql8 Initial commit 2020-03-09 09:11:07 +00:00
setup_mysql_db Fix tests for OpenSUSE 15.1 (#139) 2020-04-09 15:24:23 +02:00
setup_mysql_replication Initial commit 2020-03-09 09:11:07 +00:00
setup_openldap Use 'xargs -r' in pipe, instead of plain 'xargs' (#383) 2020-05-20 12:59:35 +02:00
setup_opennebula/vars Initial commit 2020-03-09 09:11:07 +00:00
setup_openssl Set pkg_mgr facts manually for FreeBSD and OpenSUSE (#60) 2020-03-29 21:34:10 +02:00
setup_pkg_mgr/tasks Set pkg_mgr facts manually for FreeBSD and OpenSUSE (#60) 2020-03-29 21:34:10 +02:00
setup_postgresql_db Set pkg_mgr facts manually for FreeBSD and OpenSUSE (#60) 2020-03-29 21:34:10 +02:00
setup_postgresql_replication Initial commit 2020-03-09 09:11:07 +00:00
setup_redis_replication Add info command to redis module (#286) 2020-05-12 20:18:24 +03:00
setup_remote_constraints Shippable: community/general (#12) 2020-03-17 08:59:17 +00:00
setup_remote_tmp_dir [WIP] Removed windows dep and unify shippable.sh (#38) 2020-03-24 16:09:30 +00:00
setup_tls Initial commit 2020-03-09 09:11:07 +00:00
setup_wildfly_server Set pkg_mgr facts manually for FreeBSD and OpenSUSE (#60) 2020-03-29 21:34:10 +02:00
supervisorctl supervisorctl tests: shorten path to .sock file to make OSX happy. (#77) 2020-03-31 10:52:24 +02:00
synchronize-buildah Initial commit 2020-03-09 09:11:07 +00:00
timezone Add Fedora 32 to CI; drop Fedora 30 which is soon EOL (#327) 2020-05-15 18:51:49 +02:00
ufw Set pkg_mgr facts manually for FreeBSD and OpenSUSE (#60) 2020-03-29 21:34:10 +02:00
wakeonlan Initial commit 2020-03-09 09:11:07 +00:00
xattr Set pkg_mgr facts manually for FreeBSD and OpenSUSE (#60) 2020-03-29 21:34:10 +02:00
xfs_quota Re-enable xfs_quota test. (#429) 2020-05-28 20:48:55 +02:00
xml Fix bad boolean. (#258) 2020-04-30 22:56:46 +02:00
yarn Set pkg_mgr facts manually for FreeBSD and OpenSUSE (#60) 2020-03-29 21:34:10 +02:00
zypper Added 'extra_install_args' module option to allow extra upgrade/install specific zypper arguments (#382) 2020-06-05 08:01:21 +02:00
zypper_repository Fix tests for OpenSUSE 15.1 (#139) 2020-04-09 15:24:23 +02:00
__init__.py Initial commit 2020-03-09 09:11:07 +00:00