Skip to content
This repository has been archived by the owner on Jan 8, 2023. It is now read-only.

fix: allow to omit subnet #71

Merged
merged 2 commits into from
Aug 27, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/molecule_podman/playbooks/create.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
name: "{{ podman_network.results[0].ansible_loop.allitems[0].network }}"
executable: "{{ podman_exec }}"
subnet:
"{{ podman_network.results[0].ansible_loop.allitems[0].subnet }}"
"{{ podman_network.results[0].ansible_loop.allitems[0].subnet | default(omit) }}"
when:
- podman_network.results[0].msg is defined
- "'no such network' in podman_network.results[0].msg"
Expand Down