Skip to content

[FEATURE]: Add platform to the Ansible podman_image module #1003

@adamstirk-ct

Description

@adamstirk-ct

Is your feature request related to a problem?

I'm trying to migrate away from Docker but I need to be able to build and run containers from Ansible specifying a particular platform.

ansible-community/molecule-plugins#355

Describe the solution you'd like

I would like the --platform argument exposed by Ansible for the podman_image module.

Describe alternatives you've considered

No response

Use case

I'm using Ansible molecule for testing my Ansible roles and I have a use case where I need to build a platform specific image and then run it for that platform e.g. I'm using a M series Mac and some roles I have to test are x86 only. This would help us migrate away from Docker.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions