Add tree role for Debina, macOS, and Windows
This commit is contained in:
parent
f6e60b8417
commit
c9d2e66438
5
roles/tree/tasks/Darwin.yaml
Normal file
5
roles/tree/tasks/Darwin.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
- name: install homebrew pacakge
|
||||||
|
homebrew:
|
||||||
|
name: tree
|
||||||
|
state: latest
|
6
roles/tree/tasks/Debian.yaml
Normal file
6
roles/tree/tasks/Debian.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
- name: install apt package
|
||||||
|
become: true
|
||||||
|
apt:
|
||||||
|
name: tree
|
||||||
|
state: latest
|
5
roles/tree/tasks/Windows.yaml
Normal file
5
roles/tree/tasks/Windows.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
- name: install choco package
|
||||||
|
win_chocolatey:
|
||||||
|
name: tree
|
||||||
|
state: latest
|
2
roles/tree/tasks/main.yaml
Normal file
2
roles/tree/tasks/main.yaml
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
---
|
||||||
|
- include_tasks: '{{ansible_os_family}}.yaml'
|
@ -4,8 +4,11 @@
|
|||||||
roles:
|
roles:
|
||||||
- role: zsh
|
- role: zsh
|
||||||
- role: tmux
|
- role: tmux
|
||||||
- role: git
|
|
||||||
- role: neovim
|
- role: neovim
|
||||||
|
|
||||||
- role: ag
|
- role: ag
|
||||||
|
- role: git
|
||||||
|
- role: tree
|
||||||
|
|
||||||
- role: nodejs
|
- role: nodejs
|
||||||
- role: python
|
- role: python
|
||||||
|
@ -13,10 +13,14 @@
|
|||||||
|
|
||||||
roles:
|
roles:
|
||||||
- role: powershell
|
- role: powershell
|
||||||
- role: git
|
|
||||||
- role: neovim
|
- role: neovim
|
||||||
|
|
||||||
- role: ag
|
- role: ag
|
||||||
|
- role: git
|
||||||
|
- role: tree
|
||||||
|
|
||||||
- role: nodejs
|
- role: nodejs
|
||||||
- role: python
|
- role: python
|
||||||
- role: autohotkey
|
|
||||||
- role: 1password
|
- role: 1password
|
||||||
|
- role: autohotkey
|
||||||
|
Loading…
x
Reference in New Issue
Block a user