Add ag role for Debian, macOS, and Windows
This commit is contained in:
parent
14c14353f8
commit
5dfb92522e
5
roles/ag/tasks/Darwin.yaml
Normal file
5
roles/ag/tasks/Darwin.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
- name: install homebrew package
|
||||
apt:
|
||||
name: the_silver_searcher
|
||||
state: latest
|
6
roles/ag/tasks/Debian.yaml
Normal file
6
roles/ag/tasks/Debian.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
- name: install apt package
|
||||
become: true
|
||||
apt:
|
||||
name: silversearcher-ag
|
||||
state: latest
|
5
roles/ag/tasks/Windows.yaml
Normal file
5
roles/ag/tasks/Windows.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
- name: install choco package
|
||||
win_chocolatey:
|
||||
name: ag
|
||||
state: latest
|
2
roles/ag/tasks/main.yaml
Normal file
2
roles/ag/tasks/main.yaml
Normal file
@ -0,0 +1,2 @@
|
||||
---
|
||||
- include_tasks: '{{ansible_os_family}}.yaml'
|
@ -4,7 +4,6 @@
|
||||
name:
|
||||
- neovim
|
||||
- node
|
||||
- the_silver_searcher
|
||||
state: latest
|
||||
|
||||
- name: clone config repo
|
||||
|
@ -2,9 +2,7 @@
|
||||
- name: install apt package
|
||||
become: true
|
||||
apt:
|
||||
name:
|
||||
- neovim
|
||||
- silversearcher-ag
|
||||
name: neovim
|
||||
state: latest
|
||||
|
||||
- include_tasks: unix.yaml
|
||||
|
@ -3,7 +3,6 @@
|
||||
win_chocolatey:
|
||||
name:
|
||||
- neovim
|
||||
- ag
|
||||
- nodejs
|
||||
state: latest
|
||||
|
||||
|
@ -4,6 +4,7 @@
|
||||
roles:
|
||||
- role: zsh
|
||||
- role: tmux
|
||||
- role: neovim
|
||||
- role: git
|
||||
- role: neovim
|
||||
- role: ag
|
||||
- role: python
|
||||
|
@ -13,8 +13,9 @@
|
||||
|
||||
roles:
|
||||
- role: powershell
|
||||
- role: neovim
|
||||
- role: git
|
||||
- role: neovim
|
||||
- role: ag
|
||||
- role: python
|
||||
- role: autohotkey
|
||||
- role: 1password
|
||||
|
Loading…
x
Reference in New Issue
Block a user