mirror of https://github.com/ceph/ceph-ansible.git
allow using ansible 2.8
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 e471bce76b
)
pull/3884/head
parent
3787c9b7ad
commit
8edb064606
|
@ -4,7 +4,7 @@ galaxy_info:
|
||||||
author: Alfredo Deza
|
author: Alfredo Deza
|
||||||
description: Installs Ceph Storage Agent
|
description: Installs Ceph Storage Agent
|
||||||
license: Apache
|
license: Apache
|
||||||
min_ansible_version: 2.4
|
min_ansible_version: 2.7
|
||||||
platforms:
|
platforms:
|
||||||
- name: EL
|
- name: EL
|
||||||
versions:
|
versions:
|
||||||
|
|
|
@ -4,7 +4,7 @@ galaxy_info:
|
||||||
author: Sébastien Han
|
author: Sébastien Han
|
||||||
description: Installs A Ceph Client
|
description: Installs A Ceph Client
|
||||||
license: Apache
|
license: Apache
|
||||||
min_ansible_version: 2.4
|
min_ansible_version: 2.7
|
||||||
platforms:
|
platforms:
|
||||||
- name: EL
|
- name: EL
|
||||||
versions:
|
versions:
|
||||||
|
|
|
@ -4,7 +4,7 @@ galaxy_info:
|
||||||
author: Sébastien Han
|
author: Sébastien Han
|
||||||
description: Installs Ceph
|
description: Installs Ceph
|
||||||
license: Apache
|
license: Apache
|
||||||
min_ansible_version: 2.4
|
min_ansible_version: 2.7
|
||||||
platforms:
|
platforms:
|
||||||
- name: EL
|
- name: EL
|
||||||
versions:
|
versions:
|
||||||
|
|
|
@ -4,7 +4,7 @@ galaxy_info:
|
||||||
author: Guillaume Abrioux
|
author: Guillaume Abrioux
|
||||||
description: Handles ceph-ansible initial configuration
|
description: Handles ceph-ansible initial configuration
|
||||||
license: Apache
|
license: Apache
|
||||||
min_ansible_version: 2.4
|
min_ansible_version: 2.7
|
||||||
platforms:
|
platforms:
|
||||||
- name: EL
|
- name: EL
|
||||||
versions:
|
versions:
|
||||||
|
|
|
@ -4,7 +4,7 @@ galaxy_info:
|
||||||
author: Sébastien Han
|
author: Sébastien Han
|
||||||
description: Installs Ceph
|
description: Installs Ceph
|
||||||
license: Apache
|
license: Apache
|
||||||
min_ansible_version: 2.4
|
min_ansible_version: 2.7
|
||||||
platforms:
|
platforms:
|
||||||
- name: EL
|
- name: EL
|
||||||
versions:
|
versions:
|
||||||
|
|
|
@ -4,7 +4,7 @@ galaxy_info:
|
||||||
author: Sébastien Han
|
author: Sébastien Han
|
||||||
description: Handles ceph-ansible default vars for all roles
|
description: Handles ceph-ansible default vars for all roles
|
||||||
license: Apache
|
license: Apache
|
||||||
min_ansible_version: 2.3
|
min_ansible_version: 2.7
|
||||||
platforms:
|
platforms:
|
||||||
- name: Ubuntu
|
- name: Ubuntu
|
||||||
versions:
|
versions:
|
||||||
|
|
|
@ -61,16 +61,16 @@
|
||||||
|
|
||||||
- name: fail on unsupported ansible version (1.X)
|
- name: fail on unsupported ansible version (1.X)
|
||||||
fail:
|
fail:
|
||||||
msg: "Ansible version must be >= 2.4.x, please update!"
|
msg: "Ansible version must be >= 2.7.x, please update!"
|
||||||
when:
|
when:
|
||||||
- ansible_version.major|int < 2
|
- ansible_version.major|int < 2
|
||||||
|
|
||||||
- name: fail on unsupported ansible version
|
- name: fail on unsupported ansible version
|
||||||
fail:
|
fail:
|
||||||
msg: "Ansible version must be 2.7!"
|
msg: "Ansible version must be 2.7 or 2.8!"
|
||||||
when:
|
when:
|
||||||
- ansible_version.major|int != 2
|
- ansible_version.major|int == 2
|
||||||
- ansible_version.minor|int != 7
|
- ansible_version.minor|int not in [7, 8]
|
||||||
|
|
||||||
- name: fail if systemd is not present
|
- name: fail if systemd is not present
|
||||||
fail:
|
fail:
|
||||||
|
|
Loading…
Reference in New Issue