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
|
||||
|
||||
- name: Install oh my zsh
|
||||
become_user: gianm
|
||||
git:
|
||||
repo: https://github.com/ohmyzsh/ohmyzsh.git
|
||||
dest: ~/.oh-my-zsh
|
||||
depth: 1
|
||||
|
||||
- name: Setup .zshrc
|
||||
become_user: gianm
|
||||
copy:
|
||||
src: files/zshrc
|
||||
dest: /home/gianm/.zshrc
|
||||
dest: ~/.zshrc
|
||||
mode: 0644
|
||||
|
||||
- name: Setups .profile
|
||||
become_user: gianm
|
||||
copy:
|
||||
src: files/profile
|
||||
dest: /home/gianm/.profile
|
||||
dest: ~/.profile
|
||||
mode: 0644
|
||||
|
||||
- name: install nvm
|
||||
become_user: gianm
|
||||
shell: zsh -c "$(wget https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh -O -)"
|
||||
args:
|
||||
creates: "{{ ansible_env.HOME }}/.nvm/nvm.sh"
|
||||
|
||||
- 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
|
||||
wget https://git.jatus.tech/Jatus/workstation-setup/raw/branch/main/requirments.yml
|
||||
ansible-galaxy install -r requirments.yml
|
||||
ansible-pull -U https://git.jatus.tech/Jatus/workstation-setup.git
|
||||
su gianm
|
||||
nvm install --lts
|
||||
ansible-pull -U https://git.jatus.tech/Jatus/workstation-setup.git -K
|
Loading…
Reference in New Issue
Block a user