community.windows
community.windows copied to clipboard
Update win_scheduled_task.py
SUMMARY
- Path required to search and disable the task that already exists.
ISSUE TYPE
- Docs Pull Request
+label: docsite_pr
SUMMARY
ISSUE TYPE
- Bugfix Pull Request
- Docs Pull Request
- Feature Pull Request
- New Module Pull Request
COMPONENT NAME
ADDITIONAL INFORMATION
Docs Build 📝
Thank you for contribution!✨
The docsite for this PR is available for download as an artifact from this run: https://github.com/ansible-collections/community.windows/actions/runs/3172105495
You can compare to the docs for the main
branch here:
https://ansible-collections.github.io/community.windows/branch/main
File changes:
M
collections/community/windows/win_scheduled_task_module.html
Click to see the diff comparison.
NOTE: only file modifications are shown here. New and deleted files are excluded. See the file list and check the published docs to see those files.
diff --git a/home/runner/work/community.windows/community.windows/docsbuild/base/collections/community/windows/win_scheduled_task_module.html b/home/runner/work/community.windows/community.windows/docsbuild/head/collections/community/windows/win_scheduled_task_module.html
index e971c44..b2e1313 100644
--- a/home/runner/work/community.windows/community.windows/docsbuild/base/collections/community/windows/win_scheduled_task_module.html
+++ b/home/runner/work/community.windows/community.windows/docsbuild/head/collections/community/windows/win_scheduled_task_module.html
@@ -883,6 +883,7 @@
<span class="p p-Indicator">-</span><span class="w"> </span><span class="nt">name</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">Disable a task that already exists</span><span class="w"></span>
<span class="w"> </span><span class="nt">community.windows.win_scheduled_task</span><span class="p">:</span><span class="w"></span>
+<span class="w"> </span><span class="nt">path</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">\TaskChecker</span><span class="w"></span>
<span class="w"> </span><span class="nt">name</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">TaskToDisable</span><span class="w"></span>
<span class="w"> </span><span class="nt">enabled</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">no</span><span class="w"></span>
Is this path actually needed, the example is for a test in the root path, it's just in your situation you have a task in a sub folder needing the path
option.
This pull request is stale because it has been open for 4 weeks with no activity. Remove stale label or comment or this will be closed in 2 weeks.
Is this path actually needed, the example is for a test in the root path, it's just in your situation you have a task in a sub folder needing the
path
option.
@jborean93 In general we need to have an option for path and having things at root is always not a possibility. Based on the project needs, we should have flexibility to choose the path the way we need. Hence it would be nice to have the path as an option. So see if we can merge this PR.