modulusx.docker-host

Role Name

Configures target as a Docker host by installing Docker and docker-compose.

Requirements

Ansible

Role Variables

Configure dockerhost_user as the user that will be added to the Docker group. Reconfigure dockercompose_dcv in vars/main.yml to install a different version of docker-compose.

Example Playbook

- hosts: docker01.example.com
  become: yes
  become_method: sudo
  roles:
    - { role: modulusx.docker-host, dockerhost_user: ec2-user }

Example Usage

ansible-playbook --private-key=sshkey.pem -i inventory -u ec2-user docker-host.yml

License

MIT

About

Configures an EC2 instance as a Docker host

Install
ansible-galaxy install modulusx.docker-host
GitHub repository
License
mit
Downloads
78