Merge "Ensure packages for octavia only when EnablePackageInstall is True"
This commit is contained in:
commit
6f402f430c
|
@ -36,6 +36,10 @@ parameters:
|
|||
default: {}
|
||||
description: Parameters specific to the role
|
||||
type: json
|
||||
EnablePackageInstall:
|
||||
default: 'false'
|
||||
description: Set to true to enable package installation at deploy time
|
||||
type: boolean
|
||||
|
||||
resources:
|
||||
|
||||
|
@ -134,11 +138,11 @@ outputs:
|
|||
ignore_errors: true
|
||||
- name: Ensure packages required for configuring octavia are present
|
||||
yum: name={{item}} state=present
|
||||
tags: step4
|
||||
with_items:
|
||||
- python2-neutronclient
|
||||
- python2-openstackclient
|
||||
- openssl
|
||||
when: {get_param: EnablePackageInstall}
|
||||
upgrade_tasks:
|
||||
- name: Stop and disable octavia_worker service
|
||||
when: step|int == 2
|
||||
|
|
Loading…
Reference in New Issue