Skip to content

Commit 7fecf38

Browse files
Modified the list of items to install, installing node 22 lts currently, and pnpm
1 parent 65dac48 commit 7fecf38

File tree

2 files changed

+16
-18
lines changed

2 files changed

+16
-18
lines changed

ansible_osx.yml

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,14 @@
2525
name: "{{ item }}"
2626
ignore_errors: yes
2727
with_items:
28-
- 1password
29-
- docker
3028
- figma
3129
- google-cloud-sdk
32-
- iterm2
3330
- slack
3431
- visual-studio-code
3532
- vlc
3633
- zoom
34+
- rectangle
35+
- jetbrains-toolbox
3736

3837
- name: "Install homebrew packages"
3938
community.general.homebrew:
@@ -45,7 +44,7 @@
4544
'gnu-time',
4645
'gpg',
4746
'htop',
48-
'imagemagick@6',
47+
'imagemagick',
4948
'libtool',
5049
'libxslt',
5150
'libyaml',
@@ -140,21 +139,16 @@
140139
# - streetsidesoftware.code-spell-checker
141140
# - fabiospampinato.vscode-todo-plus
142141

143-
- git:
144-
repo: https://github.com/asdf-vm/asdf.git
145-
dest: "/Users/{{ lookup('env', 'USER') }}/.asdf"
146-
version: v0.8.1
147-
148142
- name: Install nvm
149143
become: no
150144
shell: >
151-
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.39.3/install.sh | bash
145+
curl -o- https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash
152146
args:
153147
executable: /bin/bash
154148
chdir: "$HOME"
155149
creates: "$HOME/.nvm/nvm.sh"
156150

157-
- name: Install node
151+
- name: Install node LTS
158152
become: no
159153
shell: >
160154
. {{ ansible_env.HOME }}/.nvm/nvm.sh && nvm install {{ item }}
@@ -163,18 +157,22 @@
163157
chdir: "{{ ansible_env.HOME }}"
164158
creates: "{{ ansible_env.HOME }}/.nvm/versions/{{ item }}"
165159
loop:
166-
- 16.15
160+
- 22
167161

168162
- name: "Install Default Ruby"
169163
shell: |
170-
rbenv install 3.2.0
171-
rbenv global 3.2.0
164+
rbenv install 3.4.2
165+
rbenv global 3.4.2
172166
gem install bundler
173167
echo 'bundler' >> "$(brew --prefix rbenv)/default-gems"
174168
echo 'gem: --no-document' >> ~/.gemrc
175169
176-
- name: Install yarn packages
177-
shell: yarn global add {{ item }}
170+
- name: Install pnpm
171+
shell: |
172+
curl -fsSL https://get.pnpm.io/install.sh | sh -
173+
174+
- name: Install pnpm global packages
175+
shell: pnpm add --global {{ item }}
178176
with_items:
179-
- @angular/cli
177+
- '@angular/cli'
180178
- typescript

bin/apply

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#!/bin/sh
2-
ansible-playbook -i "localhost," -c local ansible_osx.yml --ask-become-pass
2+
ansible-playbook -i "localhost," -c local ansible_osx.yml --ask-become-pass

0 commit comments

Comments
 (0)