Skip to content

AdnanHodzic/ansible-role-docker-compose-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Role: Docker and Docker Compose setup

Install and Setup Docker and Docker Compose on any Ubuntu Linux system.

This Ansible role will perform all necessary tasks to setup and run Docker and Docker Compose:

  • Install packages necessary for APT to use a repository over HTTPS.
  • Add and setup official Docker APT repositories.
  • Install packages needed for AUFS storage drivers.
  • Add user to Docker group.

This role was created as part of containerized-wordpress-project

Requirements

None.

Role Variables

If you want to change user which will be added to Docker group change contents of system_user variable (see: defaults/main.yml)

system_user: docker

Dependencies

None.

Example Playbook

- hosts: servers
  remote_user: "{{ system_user }}"
  gather_facts: yes
  become: yes

  roles:
    - { role: AdnanHodzic.docker-compose }

License

GPLv3

Donate

Since I'm working on this project in free time, please consider supporting this project by making a donation of any amount!

PayPal

paypal

BitCoin

bc1qlncmgdjyqy8pe4gad4k2s6xtyr8f2r3ehrnl87

bitcoin

Releases

No releases published

Sponsor this project

 

Packages

No packages published