summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/integration/targets/win_iis_webbinding/tasks/main.yml6
-rwxr-xr-x[-rw-r--r--]test/sanity/code-smell/no-tests-as-filters.py0
2 files changed, 3 insertions, 3 deletions
diff --git a/test/integration/targets/win_iis_webbinding/tasks/main.yml b/test/integration/targets/win_iis_webbinding/tasks/main.yml
index a561112a46..3c918cb826 100644
--- a/test/integration/targets/win_iis_webbinding/tasks/main.yml
+++ b/test/integration/targets/win_iis_webbinding/tasks/main.yml
@@ -12,9 +12,9 @@
- include_tasks: setup.yml
- include_tasks: http.yml
- include_tasks: https-lt6.2.yml
- when: os_version.stdout_lines[0] | version_compare('6.2','lt')
+ when: os_version.stdout_lines[0] is version('6.2','lt')
- include_tasks: https-ge6.2.yml
- when: os_version.stdout_lines[0] | version_compare('6.2','ge')
+ when: os_version.stdout_lines[0] is version('6.2','ge')
- include_tasks: failures.yml
always:
@@ -59,4 +59,4 @@
- name: reboot after feature install
win_reboot:
when: feature_uninstall.reboot_required
- when: os_version.stdout_lines[0] | version_compare('6.1','gt')
+ when: os_version.stdout_lines[0] is version('6.1','gt')
diff --git a/test/sanity/code-smell/no-tests-as-filters.py b/test/sanity/code-smell/no-tests-as-filters.py
index 101beee384..101beee384 100644..100755
--- a/test/sanity/code-smell/no-tests-as-filters.py
+++ b/test/sanity/code-smell/no-tests-as-filters.py