Fix bogus reference to conditional in octavia upgrade tasks
Adds a fact to take the value of the EnableInternalTLS heat parameter so it can be used in ansible upgrade tasks. Change-Id: I9e52ece33a131fbcec64d96d3c9c273f98ccb284 Closes-Bug: #1836729 (cherry picked from commit430cb55920
) (cherry picked from commit9f239f8c80
)
This commit is contained in:
parent
2780674463
commit
00a76438f3
|
@ -211,6 +211,9 @@ outputs:
|
|||
/var/log/containers/octavia and /var/log/containers/httpd/octavia-api.
|
||||
ignore_errors: true
|
||||
update_tasks:
|
||||
- name: Set internal tls variable
|
||||
set_fact:
|
||||
internal_tls_enabled: {get_param: EnableInternalTLS}
|
||||
- name: remove TLS proxy if configured and running
|
||||
when:
|
||||
- step|int == 2
|
||||
|
@ -219,6 +222,9 @@ outputs:
|
|||
name: octavia_api_tls_proxy
|
||||
state: absent
|
||||
upgrade_tasks:
|
||||
- name: Set internal tls variable
|
||||
set_fact:
|
||||
internal_tls_enabled: {get_param: EnableInternalTLS}
|
||||
- when: step|int == 0
|
||||
tags: common
|
||||
block:
|
||||
|
|
Loading…
Reference in New Issue