1
0
Fork 0
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:
Sagi Shnaidman 2024-04-22 11:41:39 +03:00 committed by Sergey
parent 1476ebe685
commit 4bfbabe727
6 changed files with 59 additions and 4 deletions

View file

@ -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: