Add tree role for Debina, macOS, and Windows
This commit is contained in:
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'
|
||||
Reference in New Issue
Block a user