Currently we only support ansible 2.7
We plan to use 2.8 when it will be release so we have to support both
2.7 and 2.8.
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1700548
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit
e471bce76b58b4e64c0c6d18051abc9c9fbd16d6)
author: Alfredo Deza
description: Installs Ceph Storage Agent
license: Apache
- min_ansible_version: 2.4
+ min_ansible_version: 2.7
platforms:
- name: EL
versions:
author: Sébastien Han
description: Installs A Ceph Client
license: Apache
- min_ansible_version: 2.4
+ min_ansible_version: 2.7
platforms:
- name: EL
versions:
author: Sébastien Han
description: Installs Ceph
license: Apache
- min_ansible_version: 2.4
+ min_ansible_version: 2.7
platforms:
- name: EL
versions:
author: Guillaume Abrioux
description: Handles ceph-ansible initial configuration
license: Apache
- min_ansible_version: 2.4
+ min_ansible_version: 2.7
platforms:
- name: EL
versions:
author: Sébastien Han
description: Installs Ceph
license: Apache
- min_ansible_version: 2.4
+ min_ansible_version: 2.7
platforms:
- name: EL
versions:
author: Sébastien Han
description: Handles ceph-ansible default vars for all roles
license: Apache
- min_ansible_version: 2.3
+ min_ansible_version: 2.7
platforms:
- name: Ubuntu
versions:
- name: fail on unsupported ansible version (1.X)
fail:
- msg: "Ansible version must be >= 2.4.x, please update!"
+ msg: "Ansible version must be >= 2.7.x, please update!"
when:
- ansible_version.major|int < 2
- name: fail on unsupported ansible version
fail:
- msg: "Ansible version must be 2.7!"
+ msg: "Ansible version must be 2.7 or 2.8!"
when:
- - ansible_version.major|int != 2
- - ansible_version.minor|int != 7
+ - ansible_version.major|int == 2
+ - ansible_version.minor|int not in [7, 8]
- name: fail if systemd is not present
fail: