An ansible role to install and configure Docker
Execute the following from the command line shell
curl -s https://raw.githubusercontent.com/nephelaiio/ansible-role-docker/master/install.sh | bash
Please refer to the defaults file for an up to date list of input parameters.
- hosts: servers
roles:
- role: nephelaiio.docker
docker_packages_state: latest
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
This project is licensed under the terms of the MIT License