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:
parent
d5e52d813f
commit
6ba6c01229
1 changed files with 7 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue