mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-05 16:04:09 -07:00
Allow win_scheduled_task to support adding and removing task paths (#24025)
* allows win_scheduled_task to support adding and removing task paths * fix line length for documentation * added integration tests for path creation and removal * removing ability to remove TaskPath if a task isn't removed. also removed superfluous line of code in Invoke-TaskPathCheck function
This commit is contained in:
parent
cf30b162a9
commit
91e995d691
3 changed files with 161 additions and 5 deletions
|
@ -81,7 +81,8 @@ options:
|
|||
- Days of the week to run a weekly task, not idempotent
|
||||
path:
|
||||
description:
|
||||
- Task folder in which this task will be stored
|
||||
- Task folder in which this task will be stored - creates a non-existent path when C(state) is C(present),
|
||||
and removes an empty path when C(state) is C(absent)
|
||||
default: '\'
|
||||
'''
|
||||
|
||||
|
@ -92,7 +93,7 @@ EXAMPLES = r'''
|
|||
description: open command prompt
|
||||
executable: cmd
|
||||
arguments: -opt1 -opt2
|
||||
path: example
|
||||
path: \example
|
||||
time: 9am
|
||||
frequency: daily
|
||||
state: present
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue