Skip to content

cmihai-ansible/docker

Repository files navigation

Role Name

docker

Build Status

Ansible galaxy:

https://galaxy.ansible.com/crivetimihai/docker

ansible-galaxy install crivetimihai.docker

Requirements

  • For RHEL, a Red Hat subscription or functional local repository.

Role Variables

docker_remove_packages: true
docker_enable_service: true
docker_copy_templates: true
docker_users:
  - user: devops
    group: docker

Dependencies

  • For Red Hat, subscription-manager.

Example Playbook

---
- 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

License

MIT

Author Information

About

Ansible docker role

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages