Add image role, support logging in to registries
This commit is contained in:
27
roles/image/meta/argument_specs.yaml
Normal file
27
roles/image/meta/argument_specs.yaml
Normal file
@@ -0,0 +1,27 @@
|
||||
---
|
||||
argument_specs:
|
||||
main:
|
||||
description:
|
||||
- Sets up podman image with systemd unit (quadlet)
|
||||
- The image unit filename is `image_name` with / replaced by _
|
||||
options:
|
||||
image_name:
|
||||
description: "The image FQIN (format registry/imagename:tag)"
|
||||
type: str
|
||||
required: true
|
||||
image_creds:
|
||||
description: Credentials used to authenticate with the registry
|
||||
type: dict
|
||||
required: false
|
||||
default:
|
||||
username: ""
|
||||
password: ""
|
||||
options:
|
||||
username:
|
||||
description: Username
|
||||
type: str
|
||||
required: true
|
||||
password:
|
||||
description: Password
|
||||
type: str
|
||||
required: true
|
||||
Reference in New Issue
Block a user