Implement platform parameter for docker_container, first version. (#426)

This commit is contained in:
Felix Fontein
2022-07-15 17:14:57 +02:00
committed by GitHub
parent 5d0a036819
commit e26890a909
6 changed files with 107 additions and 4 deletions
+8
View File
@@ -698,6 +698,14 @@ options:
- Set PIDs limit for the container. It accepts an integer value.
- Set C(-1) for unlimited PIDs.
type: int
platform:
description:
- Platform for the container in the format C(os[/arch[/variant]]).
- "Please note that inspecting the container does not always return the exact platform string used to
create the container. This can cause idempotency to break for this module. Use the I(comparisons) option
with C(platform: ignore) to prevent accidental recreation of the container due to this."
type: str
version_added: 3.0.0
privileged:
description:
- Give extended privileges to the container.