1
0
Fork 0
mirror of https://github.com/containers/ansible-podman-collections.git synced 2026-02-04 07:11:49 +00:00

Add a second example to podman_pod_module.html (#346)

Added a second example
This commit is contained in:
Joerg Kastning 2021-11-28 23:13:31 +01:00 committed by GitHub
parent d5e52d813f
commit 6ba6c01229
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -286,6 +286,13 @@ EXAMPLES = '''
state: started
ports:
- 4444:5555
# Connect random port from localhost to port 80 on pod2
- name: Connect random port from localhost to port 80 on pod2
containers.podman.podman_pod:
name: pod2
state: started
publish: 127.0.0.1::80
'''
from ansible.module_utils.basic import AnsibleModule # noqa: F402
from ..module_utils.podman.podman_pod_lib import PodmanPodManager # noqa: F402