Add role for htop on macOS/Debian
This commit is contained in:
parent
8c9af58146
commit
3272331f08
@ -13,6 +13,7 @@
|
||||
- role: curl
|
||||
- role: fzf
|
||||
- role: git
|
||||
- role: htop
|
||||
- role: tidy
|
||||
- role: tree
|
||||
|
||||
|
5
roles/htop/tasks/Darwin.yaml
Normal file
5
roles/htop/tasks/Darwin.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
- name: install homebrew package
|
||||
homebrew:
|
||||
name: htop
|
||||
state: latest
|
5
roles/htop/tasks/Debian.yaml
Normal file
5
roles/htop/tasks/Debian.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
- name: install apt package
|
||||
apt:
|
||||
name: htop
|
||||
state: latest
|
2
roles/htop/tasks/main.yaml
Normal file
2
roles/htop/tasks/main.yaml
Normal file
@ -0,0 +1,2 @@
|
||||
---
|
||||
- include_tasks: '{{ansible_os_family}}.yaml'
|
Loading…
x
Reference in New Issue
Block a user