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:
parent
b3dc57c1cf
commit
47fc4cc119
7 changed files with 563 additions and 239 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue