Switch system-info to systemd on WSL
This commit is contained in:
@@ -30,29 +30,29 @@
|
||||
start_when_available: true
|
||||
wake_to_run: false
|
||||
|
||||
- name: create system-info-WSL.sh scheduled task
|
||||
win_scheduled_task:
|
||||
path: Benie
|
||||
name: system-info-WSL.sh
|
||||
state: present
|
||||
enable: true
|
||||
triggers:
|
||||
- type: logon
|
||||
enabled: true
|
||||
- type: registration
|
||||
enabled: true
|
||||
actions:
|
||||
- path: '{{wsl_exe}}'
|
||||
arguments: '-d Debian -e /home/benie/.config/tmux/system-info/system-info-WSL.sh'
|
||||
disallow_start_if_on_batteries: false
|
||||
stop_if_going_on_batteries: false
|
||||
execution_time_limit: PT0S
|
||||
logon_type: password
|
||||
username: '{{ansible_user}}'
|
||||
password: '{{ansible_password}}'
|
||||
multiple_instances: 3
|
||||
run_level: limited
|
||||
start_when_available: true
|
||||
wake_to_run: false
|
||||
# - name: create system-info-WSL.sh scheduled task
|
||||
# win_scheduled_task:
|
||||
# path: Benie
|
||||
# name: system-info-WSL.sh
|
||||
# state: present
|
||||
# enable: true
|
||||
# triggers:
|
||||
# - type: logon
|
||||
# enabled: true
|
||||
# - type: registration
|
||||
# enabled: true
|
||||
# actions:
|
||||
# - path: '{{wsl_exe}}'
|
||||
# arguments: '-d Debian -e /home/benie/.config/tmux/system-info/system-info-WSL.sh'
|
||||
# disallow_start_if_on_batteries: false
|
||||
# stop_if_going_on_batteries: false
|
||||
# execution_time_limit: PT0S
|
||||
# logon_type: password
|
||||
# username: '{{ansible_user}}'
|
||||
# password: '{{ansible_password}}'
|
||||
# multiple_instances: 3
|
||||
# run_level: limited
|
||||
# start_when_available: true
|
||||
# wake_to_run: false
|
||||
|
||||
# - TODO: configure firewall
|
||||
|
||||
Reference in New Issue
Block a user