]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
doc/tests: bump to ansible 2.9 on master
authorGuillaume Abrioux <gabrioux@redhat.com>
Tue, 24 Mar 2020 14:48:58 +0000 (15:48 +0100)
committerGuillaume Abrioux <gabrioux@redhat.com>
Wed, 25 Mar 2020 07:01:27 +0000 (08:01 +0100)
Add testing against ansible 2.9 on master branch.
This commit also updates the documentation.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
ceph-ansible.spec.in
docs/source/index.rst
requirements.txt
roles/ceph-validate/tasks/check_system.yml
tests/requirements.txt

index e2ceb2ead709b1cbca6e8a7924601eae678b76b5..9882a8b8a0a1862cab5a09a934dbcb6b87c56f4d 100644 (file)
@@ -16,8 +16,8 @@ Obsoletes:      ceph-iscsi-ansible <= 1.5
 
 BuildArch:      noarch
 
-BuildRequires: ansible >= 2.8
-Requires: ansible >= 2.8
+BuildRequires: ansible >= 2.9
+Requires: ansible >= 2.9
 
 %if 0%{?rhel} == 7
 BuildRequires: python2-devel
index 6a34376829b0e628ed7cd721a3cd9b9537886680..3e76c2b706f517b2ddb3fe2be44628e02b4839dd 100644 (file)
@@ -79,7 +79,9 @@ The ``master`` branch should be considered experimental and used with caution.
 
 - ``stable-4.0`` Supports Ceph version ``nautilus``. This branch requires Ansible version ``2.8``.
 
-- ``master`` Supports the master branch of Ceph. This branch requires Ansible version ``2.8``.
+- ``stable-5.0`` Supports Ceph version ``octopus``. This branch requires Ansible version ``2.9``.
+
+- ``master`` Supports the master branch of Ceph. This branch requires Ansible version ``2.9``.
 
 Configuration and Usage
 =======================
index 00d745372eb19951667ae2aa0c4e818416a4ca7e..8194cc7ae96977cf4f30971b4cab21ef8fb75c85 100644 (file)
@@ -1,3 +1,3 @@
 # These are Python requirements needed to run ceph-ansible master
-ansible>=2.8.8,<2.9
+ansible>=2.9,<2.10
 netaddr
index 32beaa6d683f03d8b3e6ca018d90c3d2c69ed9f8..b459ab345cd94286465edcaf56a3aa7b376d465a 100644 (file)
@@ -6,10 +6,8 @@
 
 - name: fail on unsupported ansible version
   fail:
-    msg: "Ansible version must be 2.8 or 2.9!"
-  when:
-    - ansible_version.major|int == 2
-    - ansible_version.minor|int not in [8, 9]
+    msg: "Ansible version must be 2.9!"
+  when: ansible_version.minor|int != 9
 
 - name: fail on unsupported system
   fail:
index af4437a0c59536aba4e3be44e57d67f6e9470adb..56417b533e9e6a466834290dedd8c7866a7dd008 100644 (file)
@@ -3,9 +3,9 @@ six==1.10.0
 testinfra>=3,<4
 pytest-xdist==1.28.0
 pytest>=4.6,<5.0
-ansible>=2.8.8,<2.9
+ansible>=2.9,<2.10
 Jinja2>=2.10
 netaddr
 mock
 jmespath
-pytest-rerunfailures
\ No newline at end of file
+pytest-rerunfailures