Install docker tools
This commit is contained in:
parent
ef02de7c16
commit
87ff607e92
2 changed files with 19 additions and 0 deletions
18
roles/dockerd-wsl/tasks/main.yaml
Normal file
18
roles/dockerd-wsl/tasks/main.yaml
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
---
|
||||||
|
# # 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
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -17,3 +17,4 @@
|
||||||
- tools
|
- tools
|
||||||
- dev-machine
|
- dev-machine
|
||||||
- pinentry-wsl
|
- pinentry-wsl
|
||||||
|
- dockerd-wsl
|
||||||
|
|
Loading…
Reference in a new issue