core: bump ansible version

We should consider bumping ansible version for future releases, so let's
start testing against ansible 2.10

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
pull/6475/head
Guillaume Abrioux 2021-04-15 09:32:26 +02:00
parent c078513475
commit 839fac8f94
4 changed files with 6 additions and 6 deletions

View File

@ -15,8 +15,8 @@ Obsoletes: ceph-iscsi-ansible <= 1.5
BuildArch: noarch
BuildRequires: ansible >= 2.9
Requires: ansible >= 2.9
BuildRequires: ansible >= 2.10
Requires: ansible >= 2.10
%if 0%{?rhel} == 7
BuildRequires: python2-devel

View File

@ -1,4 +1,4 @@
# These are Python requirements needed to run ceph-ansible master
ansible>=2.9,<2.10,!=2.9.10
ansible>=2.10,<2.11,!=2.9.10
netaddr
six

View File

@ -6,8 +6,8 @@
- name: fail on unsupported ansible version
fail:
msg: "Ansible version must be 2.9!"
when: ansible_version.minor|int != 9
msg: "Ansible version must be 2.10!"
when: ansible_version.minor|int != 10
- name: fail on unsupported system
fail:

View File

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