1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-05-03 17:03:06 +00:00
community.general/changelogs/fragments
patchback[bot] 20bda07aaf
gem_module: Add bindir option (#2837) (#2851)
* gem_module: Add bindir option

This option allows to specify directory to install executables, e.g.
`/home/user/bin` or `/home/user/.local/bin`. This comes especially handy
when used with user_install option as the default path of executables is
not in PATH.

* Update changelogs/fragments/gem_module_add_bindir_option.yml

Co-authored-by: Ajpantuso <ajpantuso@gmail.com>

* gem_module: Integration tests for bindir option

* gem_module: Update Integration tests for bindir option

* gem_module: Update Integration tests for bindir option

Make sure gist is not installed system-wide prior the tests

* Revert "gem_module: Update Integration tests for bindir option"

This reverts commit 04eec6db27.

* Do not check "install_gem_result is changed" for ansible develop on openSUSE

* Revert "Do not check "install_gem_result is changed" for ansible develop on openSUSE"

This reverts commit 48ecb27889.

* gem_module: Use --norc to avoid surprises

Run install and uninstall actions with `--norc`. This way ansible has
more control over the way gems are installed.

* Revert "gem_module: Use --norc to avoid surprises"

This reverts commit 66f40bcfe6.

* gem_module: bindir - Ignore openSUSE Leap

* Update plugins/modules/packaging/language/gem.py

Co-authored-by: Felix Fontein <felix@fontein.de>

* gem_module: Use --norc to avoid surprises

Run install and uninstall actions with `--norc` when supported (rubygems >= 2.5.2).
This way ansible has more control over the way gems are installed.

* Try distutils.version instead of packaging

* ver is an list, not string

* ver is not list either but tuple

* Update changelogs/fragments/gem_module_add_bindir_option.yml

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>

* ver can be None (when can this happen?)

* gem: Add norc option

* Apply suggestions from code review

Co-authored-by: Felix Fontein <felix@fontein.de>

* Update plugins/modules/packaging/language/gem.py

Co-authored-by: Felix Fontein <felix@fontein.de>

* Use tuples to compare versions

* Apply suggestions from code review

Co-authored-by: Amin Vakil <info@aminvakil.com>

* Update plugins/modules/packaging/language/gem.py

Co-authored-by: Amin Vakil <info@aminvakil.com>

* lost norc option check is back

* Move handling norc option to separate function

* cosmetic

* fix for the previos commit

* Apply suggestions from code review

Co-authored-by: Felix Fontein <felix@fontein.de>

* Cache result of get_rubygems_version

Co-authored-by: Ajpantuso <ajpantuso@gmail.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
Co-authored-by: Amin Vakil <info@aminvakil.com>
(cherry picked from commit ce35d88094)

Co-authored-by: Stanislav German-Evtushenko <ginermail@gmail.com>
2021-06-21 12:41:40 +02:00
..
.keep Rename changelogs/fragments/.empty -> changelogs/fragments/.keep 2020-08-07 08:17:57 +02:00
1942_timezone.yml timezone: change warning to debug (#2789) (#2803) 2021-06-14 19:11:39 +02:00
2521-flatpak-list.yml flatpak - allow to add/remove multiple flatpaks at once (#2521) (#2822) 2021-06-17 19:05:05 +02:00
2732-nmcli_add_options.yml Nmcli add options (#2732) (#2842) 2021-06-19 15:00:21 +02:00
2771-scaleway_inventory_json_accept_byte_array.yml [scaleway inventory] Fix JSON object must be str, not 'bytes' (#2771) (#2783) 2021-06-11 13:23:41 +02:00
2774-datadog_event_api_parameter.yml datadog_event : Adding api_host as an optional parameter (#2775) (#2831) 2021-06-17 19:43:02 +02:00
2779_redhat_subscription-add_server_prefix_and_server_port.yml redhat_subscription: Add server_prefix and server_port as supported arguments (#2779) (#2814) 2021-06-16 09:39:52 +02:00
2790-callback_splunk-batch-option.yml callback_splunk - Add user-configurable event correlation id (#2790) (#2817) 2021-06-16 21:02:00 +02:00
2821-ipa_sudorule.yml fix sudorule_add_allow_command_group (#2821) (#2833) 2021-06-17 19:43:12 +02:00
2830-npm-version-update.yml npm - fix updating version specific modules (#2830) (#2839) 2021-06-18 22:50:24 +02:00
2841-proxmox_kvm_zfs_devstr.yml proxmox_kvm: Fix ZFS device string parsing (#2841) (#2846) 2021-06-20 13:05:16 +02:00
2844-ali_instance_info-deprecate-params.yml ali_instance_info - marked parameters for deprecation in c.g. 5.0.0 (#2844) (#2848) 2021-06-20 12:14:28 +00:00
2845-serverless-deprecate-functions-param.yml serverless - deprecating unused param (#2845) (#2847) 2021-06-20 12:14:37 +00:00
gem_module_add_bindir_option.yml gem_module: Add bindir option (#2837) (#2851) 2021-06-21 12:41:40 +02:00