test

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
guits-quick-test2.8
Guillaume Abrioux 2021-03-11 16:29:06 +01:00
parent e6447bdc2b
commit 51712d28e5
2 changed files with 7 additions and 7 deletions

View File

@ -4,12 +4,12 @@
msg: "Ansible version must be >= 2.x, please update!" msg: "Ansible version must be >= 2.x, please update!"
when: ansible_version.major|int < 2 when: ansible_version.major|int < 2
- name: fail on unsupported ansible version # - name: fail on unsupported ansible version
fail: # fail:
msg: "Ansible version must be 2.9!" # msg: "Ansible version must be 2.9!"
when: # when:
- ansible_version.major|int == 2 # - ansible_version.major|int == 2
- ansible_version.minor|int != 9 # - ansible_version.minor|int != 9
- name: fail on unsupported system - name: fail on unsupported system
fail: fail:

View File

@ -2,7 +2,7 @@
testinfra>=3,<4 testinfra>=3,<4
pytest-xdist==1.28.0 pytest-xdist==1.28.0
pytest>=4.6,<5.0 pytest>=4.6,<5.0
ansible>=2.9,<2.10,!=2.9.10 ansible>=2.8,<2.9,!=2.9.10
Jinja2>=2.10 Jinja2>=2.10
netaddr netaddr
mock mock