mirror of
https://github.com/containers/ansible-podman-collections.git
synced 2026-02-04 07:11:49 +00:00
Add 'cgroups' to 'CgroupsMode' parameter mapping for podman container quadlet
Signed-off-by: Thomas Preindl <tompre@users.noreply.github.com>
This commit is contained in:
parent
e2cb2c5835
commit
42a04720a7
2 changed files with 5 additions and 0 deletions
|
|
@ -79,6 +79,7 @@ class ContainerQuadlet(Quadlet):
|
|||
'dns_option': 'DNSOption',
|
||||
'dns_search': 'DNSSearch',
|
||||
'cap_drop': 'DropCapability',
|
||||
'cgroups': 'CgroupsMode',
|
||||
'entrypoint': 'Entrypoint',
|
||||
'env': 'Environment',
|
||||
'env_file': 'EnvironmentFile',
|
||||
|
|
|
|||
|
|
@ -1229,6 +1229,7 @@
|
|||
otheralbe: othervalue
|
||||
volumes:
|
||||
- /tmp:/data
|
||||
cgroups: no-conmon
|
||||
mounts:
|
||||
- type=devpts,destination=/dev/pts
|
||||
quadlet_options:
|
||||
|
|
@ -1267,6 +1268,7 @@
|
|||
- "Image=alpine:3.12"
|
||||
- "Exec=sleep 1d"
|
||||
- "Volume=/tmp:/data"
|
||||
- "CgroupsMode=no-conmon"
|
||||
- "Mount=type=devpts,destination=/dev/pts"
|
||||
- "WorkingDir=/bin"
|
||||
- "Unmask=ALL"
|
||||
|
|
@ -1327,6 +1329,7 @@
|
|||
otheralbe: othervalue
|
||||
volumes:
|
||||
- /tmp:/data
|
||||
cgroups: no-conmon
|
||||
mounts:
|
||||
- type=devpts,destination=/dev/pts
|
||||
quadlet_options:
|
||||
|
|
@ -1383,6 +1386,7 @@
|
|||
otheralbe: othervalue
|
||||
volumes:
|
||||
- /tmp:/data
|
||||
cgroups: no-conmon
|
||||
mounts:
|
||||
- type=devpts,destination=/dev/pts
|
||||
quadlet_options:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue