Skip to content

diodonfrost/ansible-role-podman

Repository files navigation

Ansible Role: Podman

molecule Ansible Galaxy

An Ansible Role that installs Podman on Linux.

Requirements

None.

Role Variables

Available variables are listed below, along with default values (see defaults/main.yml):

# A list of users who will be used podman.
rootless_users: []

Dependencies

None.

Example Playbook

This is a sample playbook file for deploying the Ansible Galaxy podman role and installing podman.

- hosts: all
  roles:
     - diodonfrost.podman

Local Testing

This project uses Molecule to aid in the development and testing.

To develop or test you'll need to have installed the following:

Testing with Docker

# Test ansible role with centos 8
molecule test

# Test ansible role with ubuntu 20.04
image=ansible-ubuntu:20.04 molecule test

# Test ansible role with alpine latest
image=ansible-alpine:rolling molecule test

# Create centos 8 instance
molecule create

# Apply role on centos 8 instance
molecule converge

# Launch tests on centos 8 instance
molecule verify

License

Apache 2.0

Author Information

This role was created in 2020 by diodonfrost.

About

An Ansible Role that installs Podman on Linux.

Resources

License

Stars

Watchers

Forks

Packages

No packages published