Ansible helper runbook to install docker from ansible-role-docker
You can adjust the Docker installation options on the main.yaml
file, to see the full list of parameter passed to the docker role see Docker defaults/main.yml
-
Install the collections and roles from requirements.yaml:
ansible-galaxy install -r requirements.yaml
-
Run the playbook on the target node:
time ansible-playbook main.yaml -u ${USER} -i <node>, -b -K ## if run locally: time ansible-playbook main.yaml -i "$(hostname -i)", -b -K --connection=local