1
0
Fork 0
mirror of https://github.com/containers/ansible-podman-collections.git synced 2026-04-28 20:08:48 +00:00

Redesign idempotency for Podman Pod module (#759)

Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
This commit is contained in:
Sergey 2024-05-27 17:49:32 +03:00 committed by GitHub
parent b3dc57c1cf
commit 47fc4cc119
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 563 additions and 239 deletions

View file

@ -117,6 +117,8 @@ options:
all containers in the pod.
type: list
elements: str
aliases:
- dns_option
required: false
dns_search:
description:
@ -125,6 +127,14 @@ options:
type: list
elements: str
required: false
exit_policy:
description:
- Set the exit policy of the pod when the last container exits. Supported policies are stop and continue
choices:
- stop
- continue
type: str
required: false
generate_systemd:
description:
- Generate systemd unit file for container.
@ -367,6 +377,10 @@ options:
options as a list of lines to add.
type: list
elements: str
restart_policy:
description:
- Restart policy to follow when containers exit.
type: str
security_opt:
description:
- Security options for the pod.