docker
https://galaxy.ansible.com/crivetimihai/docker
ansible-galaxy install crivetimihai.docker
- For RHEL, a Red Hat subscription or functional local repository.
docker_remove_packages: true
docker_enable_service: true
docker_copy_templates: true
docker_users:
- user: devops
group: docker
- For Red Hat, subscription-manager.
---
- name: Install docker on localhost
hosts:
- localhost
connection: local
tasks:
- name: docker is configured
import_role:
name: crivetimihai.docker
vars:
docker_remove_packages: true
docker_enable_service: true
docker_copy_templates: true
docker_users:
- user: devops
group: docker
tags: docker
MIT