added vscode setup
This commit is contained in:
parent
b7e2e54816
commit
9b5401015f
@ -104,4 +104,3 @@ source ~/.profile
|
|||||||
#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
|
#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
|
||||||
export SDKMAN_DIR="$HOME/.sdkman"
|
export SDKMAN_DIR="$HOME/.sdkman"
|
||||||
[[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh"
|
[[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh"
|
||||||
PROG=tea _CLI_ZSH_AUTOCOMPLETE_HACK=1 source "/home/gianm/.config/tea/autocomplete.zsh"
|
|
||||||
|
17
local.yml
17
local.yml
@ -1,9 +1,18 @@
|
|||||||
---
|
---
|
||||||
- hosts: localhost
|
- hosts: localhost
|
||||||
connection: local
|
connection: local
|
||||||
|
roles:
|
||||||
|
- role: gantsign.visual-studio-code
|
||||||
|
users:
|
||||||
|
- username: gianm
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
|
- name: setup
|
||||||
|
community.general.ansible_galaxy_install:
|
||||||
|
type: role
|
||||||
|
name: gantsign.visual-studio-code
|
||||||
|
|
||||||
- name: Basic dev install
|
- name: Basic dev install
|
||||||
package:
|
package:
|
||||||
name:
|
name:
|
||||||
@ -14,8 +23,14 @@
|
|||||||
become: true
|
become: true
|
||||||
shell: chsh -s $(which zsh) gianm
|
shell: chsh -s $(which zsh) gianm
|
||||||
|
|
||||||
|
- name: check if on my zsh is installed
|
||||||
|
stat:
|
||||||
|
path: /home/gianm/.oh-my-zsh
|
||||||
|
register: zsh_dir
|
||||||
|
|
||||||
- name: Install oh my zsh
|
- name: Install oh my zsh
|
||||||
become_user: gianm
|
become_user: gianm
|
||||||
|
when: not zsh_dir.stat.exists
|
||||||
shell: sh -c "$(wget https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)"
|
shell: sh -c "$(wget https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)"
|
||||||
|
|
||||||
- name: Setup shell env
|
- name: Setup shell env
|
||||||
@ -23,4 +38,4 @@
|
|||||||
src: files/zshrc
|
src: files/zshrc
|
||||||
dest: /home/gianm/.zshrc
|
dest: /home/gianm/.zshrc
|
||||||
owner: gianm
|
owner: gianm
|
||||||
group: gianm
|
group: gianm
|
||||||
|
Loading…
Reference in New Issue
Block a user