Merge "Install Octavia amphora image if Red Hat"
This commit is contained in:
commit
471d8668a0
@ -9,9 +9,14 @@
|
||||
image_filename: "/usr/share/openstack-octavia-amphora-images/amphora-x64-haproxy.qcow2"
|
||||
when: ansible_distribution == 'CentOS' and not image_filename is defined
|
||||
|
||||
- name: set location if Red Hat
|
||||
set_fact:
|
||||
image_filename: "/usr/share/rhosp-director-images/octavia-amphora.qcow2"
|
||||
- block:
|
||||
- name: install Octavia amphora image if Red Hat
|
||||
yum:
|
||||
name: octavia-amphora-image
|
||||
state: latest
|
||||
- name: set location if Red Hat
|
||||
set_fact:
|
||||
image_filename: "/usr/share/rhosp-director-images/octavia-amphora.qcow2"
|
||||
when: ansible_distribution == 'RedHat' and not image_filename is defined
|
||||
|
||||
- name: check if amphora image file exists
|
||||
|
@ -0,0 +1,3 @@
|
||||
---
|
||||
features:
|
||||
- Install Octavia amphora image on the undercloud if Red Hat.
|
Loading…
Reference in New Issue
Block a user