Skip to content

Commit

Permalink
feat: Install network tools and bump version of NodeJS and Python
Browse files Browse the repository at this point in the history
  • Loading branch information
kpatryk committed Nov 16, 2023
1 parent 26a3317 commit 1fbb2fd
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ bootstrap: ## Run Ansible to bootstrap tools on Mac
@ansible-playbook playbook/install.yml

tags: ## Show all tags
@ansible-playbook playbook/install.yml --list-tags
@ansible-playbook playbook/install.yml --list-tags | grep 'TASK TAGS' | sed 's/TASK TAGS: //' | tr -d '[]' | tr ',' '\n' | tr -d ' ' | sort

# Git hooks
init-hooks: ## Init Git hooks
Expand Down
6 changes: 4 additions & 2 deletions playbook/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
vars:
asdf_tools:
- plugin: nodejs
version: "18.15.0"
version: "21.2.0"
- plugin: python
version: "3.11.3"
version: "3.11.6"
- plugin: ruby
version: "3.2.2"
# - plugin: jx # current plugin does not support Apple Silicon
Expand All @@ -31,6 +31,8 @@
tags:
- install-python-tools

- name: Install network tools
ansible.builtin.import_tasks: tasks/install/network_tools.yml
- name: Install default tools
ansible.builtin.import_tasks: tasks/install/default.yml
- name: Install office tools
Expand Down
10 changes: 10 additions & 0 deletions playbook/tasks/install/network_tools.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
- name: Install network tools
vars:
formula:
- mtr
loop: "{{ formula }}"
community.general.homebrew:
name: "{{ item }}"
tags:
- install-network-tools

0 comments on commit 1fbb2fd

Please sign in to comment.