mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 05:10:22 -07:00
* Distinguish between [] and None.
* Add changelog fragment.
* Fix typo.
(cherry picked from commit 4e1f6683d9
)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
8e7b779ec9
commit
59a7064392
3 changed files with 16 additions and 1 deletions
|
@ -2873,6 +2873,18 @@ avoid such warnings, please quote the value.' in log_options_2.warnings"
|
|||
force_kill: yes
|
||||
register: published_ports_5
|
||||
|
||||
- name: published_ports (no published ports)
|
||||
docker_container:
|
||||
image: alpine:3.8
|
||||
command: '/bin/sh -c "sleep 10m"'
|
||||
name: "{{ cname }}"
|
||||
state: started
|
||||
published_ports: []
|
||||
comparisons:
|
||||
published_ports: strict
|
||||
force_kill: yes
|
||||
register: published_ports_6
|
||||
|
||||
- name: cleanup
|
||||
docker_container:
|
||||
name: "{{ cname }}"
|
||||
|
@ -2887,6 +2899,7 @@ avoid such warnings, please quote the value.' in log_options_2.warnings"
|
|||
- published_ports_3 is not changed
|
||||
- published_ports_4 is changed
|
||||
- published_ports_5 is changed
|
||||
- published_ports_6 is changed
|
||||
|
||||
####################################################################
|
||||
## pull ############################################################
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue