Add autohotkey role for Windows

This commit is contained in:
Kenneth Benzie 2022-05-01 21:09:03 +01:00
parent 926dee1097
commit 623a1d7e30
2 changed files with 17 additions and 0 deletions

View File

@ -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

View 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: