From 48ecb27889a6d86b91eb70a5b1432a5649846b99 Mon Sep 17 00:00:00 2001 From: Stanislav German-Evtushenko Date: Sat, 19 Jun 2021 18:36:07 +0900 Subject: [PATCH] Do not check "install_gem_result is changed" for ansible develop on openSUSE --- tests/integration/targets/gem/tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/targets/gem/tasks/main.yml b/tests/integration/targets/gem/tasks/main.yml index 0771216983..1519419924 100644 --- a/tests/integration/targets/gem/tasks/main.yml +++ b/tests/integration/targets/gem/tasks/main.yml @@ -196,7 +196,7 @@ - name: Ensure gem executable was installed in custom directory assert: 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 - name: Remove gem with custom bindir @@ -215,5 +215,5 @@ - name: Ensure gem executable was removed from custom directory assert: 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