diff --git a/plugins/modules/podman_load.py b/plugins/modules/podman_load.py index be561af..90f0624 100644 --- a/plugins/modules/podman_load.py +++ b/plugins/modules/podman_load.py @@ -22,6 +22,8 @@ options: - Path to image file to load. type: str required: true + aliases: + - path executable: description: - Path to C(podman) executable if it is not in the C($PATH) on the @@ -167,7 +169,7 @@ def load(module, executable): def main(): module = AnsibleModule( argument_spec=dict( - input=dict(type='str', required=True), + input=dict(type='str', required=True, aliases=['path']), executable=dict(type='str', default='podman') ), supports_check_mode=True, diff --git a/plugins/modules/podman_save.py b/plugins/modules/podman_save.py index b8011b2..bc7ce25 100644 --- a/plugins/modules/podman_save.py +++ b/plugins/modules/podman_save.py @@ -32,6 +32,8 @@ options: - Destination file to write image to. type: str required: true + aliases: + - path format: description: - Save image to docker-archive, oci-archive (see containers-transports(5)), oci-dir @@ -116,7 +118,7 @@ def main(): argument_spec=dict( image=dict(type='str', required=True), compress=dict(type='bool'), - dest=dict(type='str', required=True), + dest=dict(type='str', required=True, aliases=['path']), format=dict(type='str', choices=['docker-archive', 'oci-archive', 'oci-dir', 'docker-dir']), multi_image_archive=dict(type='bool'), force=dict(type='bool', default=True),