Been trying to find ways to make a trigger to work by setting a schedule task to run at 3 specific times but have not had any luck.
Current code fails as seen below.
community.windows.win_scheduled_task:
Code:
- name: Create task with multiple triggers
community.windows.win_scheduled_task:
name: TriggerTask
path: \Custom
actions:
- path: cmd.exe
triggers:
- type: daily
- start_boundary: '2022-01-01T05:00:00','2022-01-01T11:00:00','2022-01-01T17:00:00'
username: SYSTEM
state: present
enabled: yes