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
|
||||
assert:
|
||||
that:
|
||||
- ansible_distribution | lower == 'ubuntu'
|
||||
- ansible_distribution_release | lower == 'trusty' or
|
||||
ansible_distribution_release | lower == 'xenial'
|
||||
msg: "The only supported platforms for this release are Ubuntu 14.04 LTS (Trusty) and Ubuntu 16.04 LTS (Xenial)"
|
||||
ansible_distribution_release | lower == 'xenial' or
|
||||
"{{ 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:
|
||||
- role: "openstack_hosts"
|
||||
tags:
|
||||
|
Loading…
Reference in New Issue
Block a user