ansible-machine-setup/roles/dockerd-wsl/tasks/main.yaml

19 lines
384 B
YAML
Raw Permalink Normal View History

2020-09-14 08:46:43 +00:00
---
# # Only for wsl-1
# - name: set docker-host variable
# become_user: "{{ account.name }}"
# lineinfile:
# path: "/home/{{ account.name }}/.zshrc"
# regexp: "^export DOCKER_HOST="
# line: "export DOCKER_HOST=tcp://localhost:2375"
- name: install docker tools
package:
name:
- docker.io
- docker-compose
state: latest