Use docker_container Ansible module
The docker Ansible module was removed in Ansible 2.4. It was replaced
by dedicated modules docker_container and docker_image.
This is valid for Rocky and Queens versions only. Stein and newer
versions use Podman.
Closes-Bug: #1840742
Change-Id: I9eafaa93e5e8e88e25e7958b7aba3a4d90de78ad
(cherry picked from commit 0a866602a2
)
This commit is contained in:
parent
886ef22d7c
commit
162541f242
|
@ -206,7 +206,7 @@ outputs:
|
|||
when:
|
||||
- step|int == 2
|
||||
- internal_tls_enabled|bool
|
||||
docker:
|
||||
docker_container:
|
||||
name: octavia_api_tls_proxy
|
||||
state: absent
|
||||
upgrade_tasks:
|
||||
|
@ -251,7 +251,7 @@ outputs:
|
|||
service: name=httpd state=stopped
|
||||
- name: remove TLS proxy if configured and running
|
||||
when: internal_tls_enabled|bool
|
||||
docker:
|
||||
docker_container:
|
||||
name: octavia_api_tls_proxy
|
||||
state: absent
|
||||
metadata_settings:
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
fixes:
|
||||
- |
|
||||
Fixed an issue where the update and upgrade tasks for Octavia would use the
|
||||
removed docker module in Ansible 2.4.
|
Loading…
Reference in New Issue