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>pull/3868/head
parent
9f99f539f7
commit
e471bce76b
|
@ -4,7 +4,7 @@ galaxy_info:
|
|||
author: Alfredo Deza
|
||||
description: Installs Ceph Storage Agent
|
||||
license: Apache
|
||||
min_ansible_version: 2.4
|
||||
min_ansible_version: 2.7
|
||||
platforms:
|
||||
- name: EL
|
||||
versions:
|
||||
|
|
|
@ -4,7 +4,7 @@ galaxy_info:
|
|||
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:
|
||||
|
|
|
@ -4,7 +4,7 @@ galaxy_info:
|
|||
author: Sébastien Han
|
||||
description: Installs Ceph
|
||||
license: Apache
|
||||
min_ansible_version: 2.4
|
||||
min_ansible_version: 2.7
|
||||
platforms:
|
||||
- name: EL
|
||||
versions:
|
||||
|
|
|
@ -4,7 +4,7 @@ galaxy_info:
|
|||
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:
|
||||
|
|
|
@ -4,7 +4,7 @@ galaxy_info:
|
|||
author: Sébastien Han
|
||||
description: Installs Ceph
|
||||
license: Apache
|
||||
min_ansible_version: 2.4
|
||||
min_ansible_version: 2.7
|
||||
platforms:
|
||||
- name: EL
|
||||
versions:
|
||||
|
|
|
@ -4,7 +4,7 @@ galaxy_info:
|
|||
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:
|
||||
|
|
|
@ -61,16 +61,16 @@
|
|||
|
||||
- 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:
|
||||
|
|
Loading…
Reference in New Issue