luthor/docker
tanshu 2b5cf93ece Hearing Date is not not null and unique for the court case.
Data import also needs to reflect this.
Cause List made.
2021-01-19 07:10:14 +05:30
..
app Hearing Date is not not null and unique for the court case. 2021-01-19 07:10:14 +05:30
files
vars
playbook.yml
readme.md

Docker on Ubuntu 18.04

This playbook will install Docker an Ubuntu 18.04 machine, as explained in the guide on How to Use Ansible to Install and Set Up Docker on Ubuntu 18.04. A number of containers will be created with the options specified in the vars/default.yml variable file.

Settings

  • create_containers: number of containers to create.
  • default_container_name: default name for new containers.
  • default_container_image: default image for new containers.
  • default_container_command: default command to run on new containers.

Running this Playbook

Quick Steps:

1. Obtain the playbook

git clone https://github.com/do-community/ansible-playbooks.git
cd ansible-playbooks/docker_ubuntu1804

2. Customize Options

nano vars/default.yml
#vars/default.yml
---
create_containers: 4
default_container_name: docker
default_container_image: ubuntu
default_container_command: sleep 1d

3. Run the Playbook

ansible-playbook -l [target] -i [inventory file] -u [remote user] playbook.yml

For more information on how to run this Ansible setup, please check this guide: How to Use Ansible to Install and Set Up Docker on Ubuntu 18.04.