Skip to content
This repository has been archived by the owner on May 11, 2020. It is now read-only.

Latest commit

 

History

History
57 lines (39 loc) · 1.46 KB

README.md

File metadata and controls

57 lines (39 loc) · 1.46 KB

This Role Has Been Deprecated: Please use the version in the oasis_roles.system Ansible Collection

Build Status

Docker

Installs the Docker service on a host. Additionally, it configures the "docker" system user group. When the Docker daemon detects a group named "docker" then it allows any user in that group access, instead of limiting access to only the root user.

Because this configures a Docker group, consider carefully if it matches the security requirements of your own deployment plans.

Requirements

Ansible 2.4 or higher

Role Variables

Currently the following variables are supported:

General

  • docker_access_users - A list of users ought to have access to the Docker daemon. Defaults to only the login user for this role. Users in this group will not require sudo access in order to use the Docker service.
  • docker_become - Default: true. Whether to use the Ansible "become" functionality to escalate privileges.
  • docker_become_user - Default: root. User to become when performing sysadmin tasks

Dependencies

None

Example Playbook

- hosts: docker-servers
  roles:
    - role: oasis_roles.docker

License

GPLv3

Author Information

Greg Hellings [email protected]