Scripts to setup my workstations.
Allow script execution:
Set-ExecutionPolicy RemoteSigned -scope CurrentUser -Force
Install Git and configure it:
git config --global user.name "FIRST_NAME LAST_NAME"
git config --global user.email "MY_NAME@example.com"
Remove the --global
flag to apply to local configuration.
Clone this repository:
git clone https://github.com/egvimo/workstation-setup.git --recurse-submodules
Run setup_windows.ps1 script inside PowerShell with elevated rights. This script triggers a restart after enabling WSL. Run this script again after restart to finish the Windows setup.
Open WSL and run setup_wsl.sh script.
Set the correct values for the hosts and variables.
Enter the virtual environment with
pipenv shell
Obtain a Kerberos ticket
kinit user@DOMAIN
and run the playbook
ANSIBLE_CONFIG=./ansible.cfg ansible-playbook workstations.yml