mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
docker_container: fix container creation with networks_cli_compatible=yes (#56687)
* Fix behavior. * Add changelog. * Add simple test to prevent #56620.
This commit is contained in:
@@ -260,6 +260,9 @@
|
||||
state: started
|
||||
networks:
|
||||
- name: "{{ nname_1 }}"
|
||||
aliases:
|
||||
- alias1
|
||||
- alias2
|
||||
- name: "{{ nname_2 }}"
|
||||
networks_cli_compatible: yes
|
||||
register: networks_1
|
||||
|
||||
Reference in New Issue
Block a user