Add CentOS7 to supported OS check
Change-Id: I8040debdb981c1d66a63ec9381abc8394043d17c
This commit is contained in:
parent
7780080efa
commit
723049ce29
@ -22,10 +22,10 @@
|
|||||||
- name: Check for a supported Operating System
|
- name: Check for a supported Operating System
|
||||||
assert:
|
assert:
|
||||||
that:
|
that:
|
||||||
- ansible_distribution | lower == 'ubuntu'
|
|
||||||
- ansible_distribution_release | lower == 'trusty' or
|
- ansible_distribution_release | lower == 'trusty' or
|
||||||
ansible_distribution_release | lower == 'xenial'
|
ansible_distribution_release | lower == 'xenial' or
|
||||||
msg: "The only supported platforms for this release are Ubuntu 14.04 LTS (Trusty) and Ubuntu 16.04 LTS (Xenial)"
|
"{{ ansible_os_family | lower }}-{{ ansible_distribution_major_version | lower }}" == "redhat-7"
|
||||||
|
msg: "The only supported platforms for this release are Ubuntu 14.04 LTS (Trusty), Ubuntu 16.04 LTS (Xenial) and CentOS 7 (WIP)"
|
||||||
roles:
|
roles:
|
||||||
- role: "openstack_hosts"
|
- role: "openstack_hosts"
|
||||||
tags:
|
tags:
|
||||||
|
Loading…
Reference in New Issue
Block a user