diff --git a/plugins/modules/podman_container.py b/plugins/modules/podman_container.py index 7071f4b..96f547d 100644 --- a/plugins/modules/podman_container.py +++ b/plugins/modules/podman_container.py @@ -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: diff --git a/plugins/modules/podman_pod.py b/plugins/modules/podman_pod.py index ba77c25..8bc8b41 100644 --- a/plugins/modules/podman_pod.py +++ b/plugins/modules/podman_pod.py @@ -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