mirror of https://github.com/ceph/ceph-ansible.git
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
parent
c078513475
commit
839fac8f94
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue