A basic playbook that performs some simple setups for a Ubuntu (particularly Windows Subsystem for Linux , thus the repository name) system.
- Bash: Go to a preferred directory (e.g. workspace inside mounted Windows directory) with
cdhome
. - Vim: Configure colorscheme.
- Git: Configure user email and name, set the editor to
vim
. - Docker: Configure environment to use Docker for Windows (requires Windows 10 Creators Update).
- Python: Install
pip
. - Node.js: Install
nvm
and provision~/.npmrc
.--no-use
is used when loadingnvm
to reduce startup time, runnvm use
before usingnode
,npm
oryarn
.
- Maven: Configure Maven settings (
settings.xml
andsettings-security.xml
). - AWS: Install AWS CLI, provision
~/.aws/credentials
and~/.aws/config
.
-
Install Ansible 2.4.
-
Clone this repository.
-
Copy
config.example/
intoconfig/
and update the files accordingly. -
$ ansible-playbook winsubplay.yml -i hosts --ask-become-pass
-
Restart shell or
source ~/.bashrc
.