Install docker tools
This commit is contained in:
parent
ef02de7c16
commit
87ff607e92
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
|
||||||
|
Reference in New Issue
Block a user