mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
gem_module: Update Integration tests for bindir option
Make sure gist is not installed system-wide prior the tests
This commit is contained in:
@@ -180,6 +180,12 @@
|
|||||||
- gem_search.files | length == 0
|
- gem_search.files | length == 0
|
||||||
|
|
||||||
# Custom directory for executables (--bindir)
|
# Custom directory for executables (--bindir)
|
||||||
|
- name: Ensure gem is not installed
|
||||||
|
gem:
|
||||||
|
name: gist
|
||||||
|
state: absent
|
||||||
|
user_install: no # Avoid conflicts between --install-dir and --user-install when running as root on CentOS / Fedora / RHEL
|
||||||
|
|
||||||
- name: Install gem with custom bindir
|
- name: Install gem with custom bindir
|
||||||
gem:
|
gem:
|
||||||
name: gist
|
name: gist
|
||||||
|
|||||||
Reference in New Issue
Block a user