--- - name: install chocolatey package win_chocolatey: name: autohotkey state: latest - name: clone config repo win_git: repo: git@git.infektor.net:config/AutoHotKey.git dest: '{{autohotkey_repo_dir}}' branch: main - name: create scheduled task win_scheduled_task: path: Benie name: macOS.ahk state: present enable: true triggers: - type: logon enabled: true - type: registration enabled: true actions: - path: '{{autohotkey_repo_dir}}/macOS.ahk' disallow_start_if_on_batteries: false stop_if_going_on_batteries: false execution_time_limit: PT0S logon_type: interactive_token multiple_instances: 3 run_level: highest start_when_available: true wake_to_run: false - name: create scheduled task win_scheduled_task: path: Benie name: mouse.ahk state: present enable: true triggers: - type: logon enabled: true - type: registration enabled: true actions: - path: '{{autohotkey_repo_dir}}/mouse.ahk' disallow_start_if_on_batteries: false stop_if_going_on_batteries: false execution_time_limit: PT0S logon_type: interactive_token multiple_instances: 3 run_level: highest start_when_available: true wake_to_run: false