mirror of
https://github.com/containers/ansible-podman-collections.git
synced 2026-02-04 07:11:49 +00:00
Add more quadlet examples in docs
This commit is contained in:
parent
1476ebe685
commit
4bfbabe727
6 changed files with 59 additions and 4 deletions
|
|
@ -198,6 +198,19 @@ EXAMPLES = '''
|
|||
log_opt:
|
||||
path: /tmp/my-container.log
|
||||
max_size: 10mb
|
||||
|
||||
- name: Create a Quadlet file
|
||||
containers.podman.podman_play:
|
||||
kube_file: ~/kube.yaml
|
||||
state: quadlet
|
||||
annotations:
|
||||
greeting: hello
|
||||
greet_to: world
|
||||
userns: host
|
||||
quadlet_filename: kube-pod
|
||||
quadlet_options:
|
||||
- "SetWorkingDirectory=yaml"
|
||||
- "ExitCodePropagation=any"
|
||||
'''
|
||||
import re # noqa: F402
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue