Skip to content

tiny-company/asbl-docker_install

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

asbl-docker_install

Description

This repo contain the ansible role that configure docker and docker-compose for the servers.

  • install docker (rootless or rootfull) and docker compose (docker compose version 1 or 2).
  • install docker pip package to be compatible with ansible's docker module (ansible use python's docker module)
  • Manage user and group related to docker.
  • Configure docker daemon.

Prerequisite

  • None

Usage

Use role

  • Add the role git source in "requirements.yml" file :
  - name: role_name
    scm: git
    src: git@github.com:tiny-company/<repository_name>.git
    version: main
  • And then use the galaxy command to load the file dependencies :
ansible-galaxy install -r requirements.yml
  • Or manually get the playbook as collection (with ansible-galaxy) :
ansible-galaxy collection install git@github.com:tiny-company/<repository_name>.git

Variables

For an exhaustive list of variables check the defaults file. Ideally, all values will have commentaries describing what are their purposes and by the default value you can tell the type.

Source :

About

ansible playbook role to install docker on a server

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published