Skip to content

nephelaiio/ansible-role-docker

Repository files navigation

nephelaiio.docker

Build Status Build Status Build Status Ansible Galaxy

An ansible role to install and configure Docker

Local install

Execute the following from the command line shell

curl -s https://raw.githubusercontent.com/nephelaiio/ansible-role-docker/master/install.sh | bash

Role Variables

Please refer to the defaults file for an up to date list of input parameters.

Example Playbook

- hosts: servers
  roles:
     - role: nephelaiio.docker
       docker_packages_state: latest

Testing

Please make sure your environment has docker installed in order to run role validation tests. Additional python dependencies are listed in the requirements file

Role is tested against the following distributions (docker images):

  • Ubuntu Jammy
  • Ubuntu Focal
  • Debian Bookworm
  • Debian Bullseye
  • Rocky Linux 9

You can test the role directly from sources using command molecule test

License

This project is licensed under the terms of the MIT License