updated the main shell script
This commit is contained in:
parent
197064f459
commit
0c6170483b
11
local.yml
11
local.yml
@ -34,27 +34,32 @@
|
|||||||
when: zsh_dir.stat.exists
|
when: zsh_dir.stat.exists
|
||||||
|
|
||||||
- name: Install oh my zsh
|
- name: Install oh my zsh
|
||||||
|
become_user: gianm
|
||||||
git:
|
git:
|
||||||
repo: https://github.com/ohmyzsh/ohmyzsh.git
|
repo: https://github.com/ohmyzsh/ohmyzsh.git
|
||||||
dest: ~/.oh-my-zsh
|
dest: ~/.oh-my-zsh
|
||||||
depth: 1
|
depth: 1
|
||||||
|
|
||||||
- name: Setup .zshrc
|
- name: Setup .zshrc
|
||||||
|
become_user: gianm
|
||||||
copy:
|
copy:
|
||||||
src: files/zshrc
|
src: files/zshrc
|
||||||
dest: /home/gianm/.zshrc
|
dest: ~/.zshrc
|
||||||
mode: 0644
|
mode: 0644
|
||||||
|
|
||||||
- name: Setups .profile
|
- name: Setups .profile
|
||||||
|
become_user: gianm
|
||||||
copy:
|
copy:
|
||||||
src: files/profile
|
src: files/profile
|
||||||
dest: /home/gianm/.profile
|
dest: ~/.profile
|
||||||
mode: 0644
|
mode: 0644
|
||||||
|
|
||||||
- name: install nvm
|
- name: install nvm
|
||||||
|
become_user: gianm
|
||||||
shell: zsh -c "$(wget https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh -O -)"
|
shell: zsh -c "$(wget https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh -O -)"
|
||||||
args:
|
args:
|
||||||
creates: "{{ ansible_env.HOME }}/.nvm/nvm.sh"
|
creates: "{{ ansible_env.HOME }}/.nvm/nvm.sh"
|
||||||
|
|
||||||
- name: install node
|
- name: install node
|
||||||
shell: zsh -c "nvm install --lts"
|
become_user: gianm
|
||||||
|
shell: source ~/.zshrc && nvm install --lts
|
4
setup.sh
4
setup.sh
@ -1,6 +1,4 @@
|
|||||||
#! bin/bash
|
#! bin/bash
|
||||||
wget https://git.jatus.tech/Jatus/workstation-setup/raw/branch/main/requirments.yml
|
wget https://git.jatus.tech/Jatus/workstation-setup/raw/branch/main/requirments.yml
|
||||||
ansible-galaxy install -r requirments.yml
|
ansible-galaxy install -r requirments.yml
|
||||||
ansible-pull -U https://git.jatus.tech/Jatus/workstation-setup.git
|
ansible-pull -U https://git.jatus.tech/Jatus/workstation-setup.git -K
|
||||||
su gianm
|
|
||||||
nvm install --lts
|
|
Loading…
Reference in New Issue
Block a user