1
0
Fork 0
mirror of https://github.com/containers/ansible-podman-collections.git synced 2026-03-22 02:29:08 +00:00

Add documentations for generate_systemd (#336)

This commit is contained in:
zephyros 2021-11-19 21:04:06 +07:00 committed by GitHub
parent cef7bdbea0
commit e6d2e86e35
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 2 deletions

View file

@ -300,7 +300,7 @@ options:
path:
description:
- Specify a path to the directory where unit files will be generated.
If it doesn't exist, the directory will be created.
Required for this option. If it doesn't exist, the directory will be created.
type: str
required: false
restart_policy:

View file

@ -80,7 +80,7 @@ options:
path:
description:
- Specify a path to the directory where unit files will be generated.
If it doesn't exist, the directory will be created.
Required for this option. If it doesn't exist, the directory will be created.
type: str
required: false
restart_policy:
@ -131,6 +131,13 @@ options:
container/pod and the prefix. The default is "-" (dash).
type: str
required: false
new:
description:
- Create containers and pods when the unit is started instead of
expecting them to exist. The default is "false".
Refer to podman-generate-systemd(1) for more information.
type: bool
default: false
hostname:
description:
- Set a hostname to the pod