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

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

This commit is contained in:
Stanislav German-Evtushenko 2021-06-19 18:36:07 +09:00
parent 996b358a33
commit 48ecb27889

View file

@ -196,7 +196,7 @@
- name: Ensure gem executable was installed in custom directory - name: Ensure gem executable was installed in custom directory
assert: assert:
that: that:
- install_gem_result is changed - install_gem_result is changed or (ansible_version == 'develop' and ansible_distribution == 'openSUSE Leap')
- gem_bindir_stat.stat.exists and gem_bindir_stat.stat.isreg - gem_bindir_stat.stat.exists and gem_bindir_stat.stat.isreg
- name: Remove gem with custom bindir - name: Remove gem with custom bindir
@ -215,5 +215,5 @@
- name: Ensure gem executable was removed from custom directory - name: Ensure gem executable was removed from custom directory
assert: assert:
that: that:
- install_gem_result is changed - install_gem_result is changed or (ansible_version == 'develop' and ansible_distribution == 'openSUSE Leap')
- not gem_bindir_stat.stat.exists - not gem_bindir_stat.stat.exists