Add curl role
This commit is contained in:
parent
06b511d823
commit
7404c0ae59
@ -10,6 +10,7 @@
|
||||
|
||||
- role: ag
|
||||
- role: bat
|
||||
- role: curl
|
||||
- role: fzf
|
||||
- role: git
|
||||
- role: tree
|
||||
|
@ -9,6 +9,7 @@
|
||||
|
||||
- role: ag
|
||||
- role: bat
|
||||
- role: curl
|
||||
- role: fzf
|
||||
- role: tree
|
||||
|
||||
|
5
roles/curl/tasks/Darwin.yaml
Normal file
5
roles/curl/tasks/Darwin.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
- name: install homebrew pacakge
|
||||
homebrew:
|
||||
name: curl
|
||||
state: latest
|
6
roles/curl/tasks/Debian.yaml
Normal file
6
roles/curl/tasks/Debian.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
- name: install apt package
|
||||
become: true
|
||||
apt:
|
||||
name: curl
|
||||
state: latest
|
5
roles/curl/tasks/Windows.yaml
Normal file
5
roles/curl/tasks/Windows.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
- name: install chocolatey package
|
||||
win_chocolatey:
|
||||
name: curl
|
||||
state: latest
|
2
roles/curl/tasks/main.yaml
Normal file
2
roles/curl/tasks/main.yaml
Normal file
@ -0,0 +1,2 @@
|
||||
---
|
||||
- include_tasks: '{{ansible_os_family}}.yaml'
|
Loading…
x
Reference in New Issue
Block a user