solar-resources/resources/docker/actions/run.yaml
2015-09-15 12:20:12 +02:00

10 lines
220 B
YAML

- hosts: [{{host}}]
sudo: yes
tasks:
- shell: docker --version
ignore_errors: true
register: docker_version
- shell: curl -sSL https://get.docker.com/ | sudo sh
when: docker_version|failed