initial checkin

This commit is contained in:
Radar231 2021-07-23 18:45:44 -04:00
commit 4837ea5ae8
1 changed files with 40 additions and 0 deletions

40
docker.yml Normal file
View File

@ -0,0 +1,40 @@
---
###########################################################################
#
# This is the top level playbook for the 'docker' role.
#
# This role will install docker on the target host.
#
###########################################################################
#
# This playbook can be run using the following command line;
#
# ansible-playbook -i <inventory file | IP,> -e "username=<username>" docker.yml
#
# ie,
# ansible-playbook -i 192.168.0.101, -e "username=ubuntu" docker.yml
#
###########################################################################
- hosts: all
gather_facts: true
remote_user: root
roles:
- role: docker
vars:
# Set the following variable as required
# ie,
# username: ubuntu
#
# Default is to apply the playbook against the root user
username: "root"
# Version of docker-compose to install from
# https://github.com/docker/compose/releases
#
# Current (20210211) version is 1.28.2
# Current (20210707) version is 1.29.2
docker_compose_version: "1.29.2"
- role: reboot
# EOF