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:
|
name:
|
||||||
- neovim
|
- neovim
|
||||||
- node
|
- node
|
||||||
- the_silver_searcher
|
|
||||||
state: latest
|
state: latest
|
||||||
|
|
||||||
- name: clone config repo
|
- name: clone config repo
|
||||||
|
@ -2,9 +2,7 @@
|
|||||||
- name: install apt package
|
- name: install apt package
|
||||||
become: true
|
become: true
|
||||||
apt:
|
apt:
|
||||||
name:
|
name: neovim
|
||||||
- neovim
|
|
||||||
- silversearcher-ag
|
|
||||||
state: latest
|
state: latest
|
||||||
|
|
||||||
- include_tasks: unix.yaml
|
- include_tasks: unix.yaml
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
win_chocolatey:
|
win_chocolatey:
|
||||||
name:
|
name:
|
||||||
- neovim
|
- neovim
|
||||||
- ag
|
|
||||||
- nodejs
|
- nodejs
|
||||||
state: latest
|
state: latest
|
||||||
|
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
roles:
|
roles:
|
||||||
- role: zsh
|
- role: zsh
|
||||||
- role: tmux
|
- role: tmux
|
||||||
- role: neovim
|
|
||||||
- role: git
|
- role: git
|
||||||
|
- role: neovim
|
||||||
|
- role: ag
|
||||||
- role: python
|
- role: python
|
||||||
|
@ -13,8 +13,9 @@
|
|||||||
|
|
||||||
roles:
|
roles:
|
||||||
- role: powershell
|
- role: powershell
|
||||||
- role: neovim
|
|
||||||
- role: git
|
- role: git
|
||||||
|
- role: neovim
|
||||||
|
- role: ag
|
||||||
- role: python
|
- role: python
|
||||||
- role: autohotkey
|
- role: autohotkey
|
||||||
- role: 1password
|
- role: 1password
|
||||||
|
Loading…
x
Reference in New Issue
Block a user