Merge "Install Octavia amphora image if Red Hat"

This commit is contained in:
Zuul 2018-05-16 02:01:33 +00:00 committed by Gerrit Code Review
commit 471d8668a0
2 changed files with 11 additions and 3 deletions

View File

@ -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

View File

@ -0,0 +1,3 @@
---
features:
- Install Octavia amphora image on the undercloud if Red Hat.