Add autohotkey role for Windows
This commit is contained in:
parent
926dee1097
commit
623a1d7e30
@ -1,5 +1,6 @@
|
||||
---
|
||||
- hosts: localhost
|
||||
|
||||
roles:
|
||||
- role: zsh
|
||||
- role: tmux
|
||||
@ -10,6 +11,8 @@
|
||||
when: '"WSL" in ansible_kernel'
|
||||
|
||||
- hosts: windows
|
||||
|
||||
roles:
|
||||
- role: neovim
|
||||
- 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