initial checkin
This commit is contained in:
commit
4837ea5ae8
|
@ -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
|
Loading…
Reference in New Issue