mskrajnowski / dev-setup Goto Github PK
View Code? Open in Web Editor NEWAutomated dev machine setup using ansible and yadm
License: MIT License
Automated dev machine setup using ansible and yadm
License: MIT License
Even though there's no error and it seems like everything is ok, yadm always exits with 1 on WSL.
TASK [clone yadm repo] **********************************************************************************************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": ["yadm", "clone", "[email protected]:mskrajnowski/dotfiles.git"], "delta": "0:00:23.613558", "end": "2017-05-27 11:48:53.289962", "failed": true, "rc": 1, "start": "2017-05-27 11:48:29.676404", "stderr": "From github.com:mskrajnowski/dotfiles\n * [new branch] master -> origin/master", "stderr_lines": ["From github.com:mskrajnowski/dotfiles", " * [new branch] master -> origin/master"], "stdout": "Initialized empty shared Git repository in /home/mskrajnowski/.yadm/repo.git/", "stdout_lines": ["Initialized empty shared Git repository in /home/mskrajnowski/.yadm/repo.git/"]}
Install and set a nice gnome shell theme
Prepare a base ansible config, which can be extended to install and configure additional utilities.
Add ngrok installation and config
When running setup.sh ansible fails with ERROR! vars file vars.yml was not found
Running Ansible playbook...
SUDO password:
ERROR! vars file vars.yml was not found
Done!
Add
touch $REPO_PATH/vars.yml
install latest terraform CLI
alternatively manage it using asdf #34? https://github.com/Banno/asdf-hashicorp
Automate enpass installation and config (if possible).
https://www.enpass.io/kb/how-to-install-on-linux/
Install c/c++ compilers and commonly needed headers like python-dev
Install vagrant
When zsh starts:
zsh compinit: insecure files, run compaudit for list.
compaudit
specifies /usr/share/zsh/vendor-completions/_code
as insecure which required
sudo chown root:root /usr/share/zsh/vendor-completions/_code
https://code.visualstudio.com/updates/v1_10#_official-signed-repositories-for-linux
deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main
Install zsh with oh-my-zsh based config.
Setup zsh as the default shell.
Install kubectl and minikube
Had to manually run
yadm submodule init
yadm submodule update
to get oh-my-zsh running due to missing spaceship theme
Install jq for parsing/manipulating JSON data
currently using non-standard ~/bin
, would be nice to switch to ~/.local/bin
Install Visual Studio Code with config.
Setup code as the default editor.
Add asdf vm for managing multiple python/node/ruby/go versions
Add indicator-sound-switcher for quickly switching audio inputs and outputs
https://yktoo.com/en/software/sound-switcher-indicator/
https://github.com/yktoo/indicator-sound-switcher
https://wiki.archlinux.org/index.php/PulseAudio/Examples#Having_both_speakers_and_headphones_plugged_in_and_switching_in_software_on-the-fly
There's no need to install chrome or vscode when in a terminal-only environment, eg. WSL.
Had to
yadm remote set-url origin [email protected]:mskrajnowski/dotfiles.git
Install git and setup ssh keys.
Install python, pyenv and virtualenvwrapper.
Install docker
Use podman instead of docker unless there's a really specific need.
https://podman.io/
Add
apt-get -y
add-apt-repository -y
Automate terminator installation and config.
Install Google Chrome
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.