use better tasks in wsl

pull/1/head
Andrew Coleman 2019-07-09 14:47:15 -04:00
parent cdef71269c
commit 0452a4ad97
3 changed files with 4 additions and 45 deletions

View File

@ -13,3 +13,7 @@
args:
warn: False
creates: /usr/local/bin/docker-compose-1.24.0
- name: install apt applications
apt:
name: virt-manager,virt-top,docker-ce
state: present

View File

@ -1,15 +0,0 @@
---
- name: install apt applications
apt:
name: libvirt-clients,libvirt-daemon-system,qemu-kvm,virt-manager,virt-top,virt-goodies,vagrant,vagrant-libvirt,vagrant-mutate,xsltproc,fop,docker-ce
state: present
- name: install docker-machine
shell: curl -sLo docker-machine https://github.com/docker/machine/releases/download/v0.16.0/docker-machine-linux-x86_64 && install -m 755 docker-machine /usr/local/bin/docker-machine-0.16.0 && rm -f docker-machine && ln -sf /usr/local/bin/docker-machine-0.16.0 /usr/local/bin/docker-machine
args:
warn: False
creates: /usr/local/bin/docker-machine-0.16.0
- name: install docker-machine-driver-kvm2
shell: curl -sLo docker-machine-driver-kvm2 https://storage.googleapis.com/minikube/releases/latest/docker-machine-driver-kvm2 && install -m 755 docker-machine-driver-kvm2 /usr/local/bin/docker-machine-driver-kvm2 && rm -f docker-machine-driver-kvm2
args:
warn: False
creates: /usr/local/bin/docker-machine-driver-kvm2

View File

@ -1,30 +0,0 @@
---
- name: add nextcloud pubkey
shell: curl -sL "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x60EE47FBAD3DD469" | sudo apt-key add
args:
warn: False
- name: add nextcloud repo
apt_repository:
repo: "deb http://ppa.launchpad.net/nextcloud-devs/client/ubuntu bionic main"
state: present
update_cache: true
- name: add openrazer repo
apt_repository:
repo: "deb http://ppa.launchpad.net/openrazer/stable/ubuntu bionic main"
state: present
update_cache: true
- name: add polychromatic repo
apt_repository:
repo: "deb http://ppa.launchpad.net/openrazer/stable/ubuntu bionic main"
state: present
update_cache: true
- name: install apt applications
apt:
name: openvpn,nextcloud-client,openrazer-meta,polychromatic
state: present
- name: install kitty terminal emulator
become: no
shell: curl -L https://sw.kovidgoyal.net/kitty/installer.sh | sh /dev/stdin launch=n && ln -s ~/.local/kitty.app/bin/kitty ~/bin/ && mkdir -p ~/.local/share/applications && cp ~/.local/kitty.app/share/applications/kitty.desktop ~/.local/share/applications && sed -i "s/Icon\=kitty/Icon\=\/home\/$USER\/.local\/kitty.app\/share\/icons\/hicolor\/256x256\/apps\/kitty.png/g" ~/.local/share/applications/kitty.desktop
args:
warn: False
creates: ~/bin/kitty