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
This commit is contained in:
parent
00a76438f3
commit
0a866602a2
|
@ -218,7 +218,7 @@ outputs:
|
||||||
when:
|
when:
|
||||||
- step|int == 2
|
- step|int == 2
|
||||||
- internal_tls_enabled|bool
|
- internal_tls_enabled|bool
|
||||||
docker:
|
docker_container:
|
||||||
name: octavia_api_tls_proxy
|
name: octavia_api_tls_proxy
|
||||||
state: absent
|
state: absent
|
||||||
upgrade_tasks:
|
upgrade_tasks:
|
||||||
|
@ -263,7 +263,7 @@ outputs:
|
||||||
service: name=httpd state=stopped
|
service: name=httpd state=stopped
|
||||||
- name: remove TLS proxy if configured and running
|
- name: remove TLS proxy if configured and running
|
||||||
when: internal_tls_enabled|bool
|
when: internal_tls_enabled|bool
|
||||||
docker:
|
docker_container:
|
||||||
name: octavia_api_tls_proxy
|
name: octavia_api_tls_proxy
|
||||||
state: absent
|
state: absent
|
||||||
metadata_settings:
|
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