Add autohotkey role for Windows
This commit is contained in:
parent
926dee1097
commit
623a1d7e30
@ -1,5 +1,6 @@
|
|||||||
---
|
---
|
||||||
- hosts: localhost
|
- hosts: localhost
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- role: zsh
|
- role: zsh
|
||||||
- role: tmux
|
- role: tmux
|
||||||
@ -10,6 +11,8 @@
|
|||||||
when: '"WSL" in ansible_kernel'
|
when: '"WSL" in ansible_kernel'
|
||||||
|
|
||||||
- hosts: windows
|
- hosts: windows
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- role: neovim
|
- role: neovim
|
||||||
- role: git
|
- role: git
|
||||||
|
- role: autohotkey
|
||||||
|
14
roles/autohotkey/tasks/main.yaml
Normal file
14
roles/autohotkey/tasks/main.yaml
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
---
|
||||||
|
- name: install chocolatey package
|
||||||
|
win_chocolatey:
|
||||||
|
name: autohotkey
|
||||||
|
state: latest
|
||||||
|
|
||||||
|
- name: clone config repo
|
||||||
|
win_git:
|
||||||
|
repo: git@code.infektor.net:config/AutoHotKey.git
|
||||||
|
dest: '{{ansible_env.LOCALAPPDATA}}/AutoHotKey'
|
||||||
|
branch: master
|
||||||
|
|
||||||
|
# TODO: - name: create scheduled task
|
||||||
|
# win_scheduled_task:
|
Loading…
x
Reference in New Issue
Block a user