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

Fix tests as filters 5 (#34406)

* Address recent tests as filters in win_iis_webbinding tests

* Make no-tests-as-filters.py so that it is executed
This commit is contained in:
Matt Martz 2018-01-03 12:10:24 -06:00 committed by GitHub
parent 57ed6a866f
commit 70b31abf85
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -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')

0
test/sanity/code-smell/no-tests-as-filters.py Normal file → Executable file
View file