e3fd0b10e0
Pulling of specific image should be done during configuration run.
9 lines
214 B
YAML
9 lines
214 B
YAML
- hosts: all
|
|
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
|