dmotte.podman

ansible-role-podman

Latest Release on GitHub Ansible Galaxy

:warning: Warning: This project is no longer maintained :warning:

I have decided to change the Ansible code to Bash for easier use.


This Ansible role helps you install Podman on Debian systems.

It has been tested with Debian 12 (bookworm).

Podman will be set up using the official podman package from the Debian software repositories. Additionally, this role lets you configure related features like the Podman socket and the podman-auto-update service, both for the system and for individual users.

How to Use

  1. Install this role with the ansible-galaxy command-line tool.
  2. Then include it in the tasks section of your Ansible Playbook. Check out test/playbook.yml for a sample. Don’t forget to change the role name to dmotte.podman.

Note: This role must be run as root (ansible_become: true).

Role Variables

Refer to defaults/main.yml for the variables.

Useful Commands

After setting up Podman on your system with this Ansible role, you can find some helpful commands to manage your services here:

https://github.com/dmotte/misc/tree/main/snippets#shell-snippets-for-podman

Contributing

If you want to help with this project, you can use the test/playbook.yml file to test the role while you edit it.

Put your inventory file (e.g., hosts.yml) in the test folder.

Update the vars section of the test/playbook.yml file to fit your needs.

Then, you can run the playbook on your system:

cd test/
ansible-playbook -i hosts.yml playbook.yml
Informazioni sul progetto

Ansible role to install Podman on Debian hosts

Installa
ansible-galaxy install dmotte.podman
Licenza
mit
Download
105
Proprietario