Skip to content
This repository has been archived by the owner on Jul 8, 2021. It is now read-only.

Latest commit

 

History

History
60 lines (39 loc) · 1.22 KB

README.md

File metadata and controls

60 lines (39 loc) · 1.22 KB

docker

Configure Docker as per the official instructions, using the Docker provided repository.

Requirements

Tested on:

  • Ubuntu 14.04 LTS

Role Variables

  • docker_users

List of users to add to the docker group, granting them control of Docker. Defaults to an empty list ('[]')

  • docker_enable_memory_accounting

Whether to enable memory and swap accounting. Defaults to false. Enabling will cause the server to be rebooted to affect kernel parameter changes.

  • docker_ssh_port

Port used to test server for server reboot completing. Defaults to 22, but really uses ansible_ssh_port and will only use this value if that isn't set.

  • docker_remote_clients

List of remote IP addresses to allow access via UFW to the server. Defaults to undefined. Note that ufw is not started or enabled by this module.

Dependencies

None

Example Playbook

    - hosts: servers
      roles:
         - { role: willshersystems.docker,
           docker_enable_memory_accounting: true }

License

LGPLv3

Author Information

Matt Willsher, [email protected]