tests: test master against ansible 2.7

Let's test ceph-ansible master against ansible 2.7 to catch early any
potential issue with this ansible version.

Closes: #3148

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
pull/3104/head
Guillaume Abrioux 2018-09-21 16:44:06 +02:00 committed by Sébastien Han
parent 8843f48222
commit 62c314e2ba
5 changed files with 8 additions and 8 deletions

View File

@ -16,10 +16,10 @@ Obsoletes: ceph-iscsi-ansible <= 1.5
BuildArch: noarch
BuildRequires: ansible >= 2.4.2.0
BuildRequires: ansible >= 2.7
BuildRequires: python2-devel
Requires: ansible >= 2.4.2.0
Requires: ansible >= 2.7
Requires: python-netaddr
Requires: python-notario >= 0.0.13

View File

@ -75,7 +75,7 @@ The ``master`` branch should be considered experimental and used with caution.
- ``stable-3.1`` Support for Ceph version ``luminous`` and ``mimic``. This branch supports Ansible version ``2.4``.
- ``master`` Support for Ceph versions ``luminous``, and ``mimic``. This branch supports Ansible version ``2.6``.
- ``master`` Support for Ceph versions ``luminous``, and ``mimic``. This branch supports Ansible version ``2.6`` and ``2.7``.
Configuration and Usage
=======================

View File

@ -1,4 +1,4 @@
# These are Python requirements needed to run ceph-ansible master
notario>=0.0.13
ansible~=2.6,<2.7
netaddr
ansible~=2.7,<2.8
netaddr

View File

@ -67,10 +67,10 @@
- name: fail on unsupported ansible version
fail:
msg: "Ansible version must be between 2.5.x and 2.6.x!"
msg: "Ansible version must be between 2.6.x and 2.7.x!"
when:
- ansible_version.major|int == 2
- (ansible_version.minor|int < 5 or ansible_version.minor|int > 6)
- (ansible_version.minor|int < 6 or ansible_version.minor|int > 7)
- name: fail if systemd is not present
fail:

View File

@ -3,5 +3,5 @@ testinfra
pytest-xdist
pytest==3.6.1
notario>=0.0.13
ansible~=2.6,<2.7
ansible~=2.7,<2.8
netaddr