mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-02 14:40:19 -07:00
Windows: Clean up documentation (#36684)
This PR includes: - Further cleanup of BOTMETA.yml - Cleanup of author github handles - Use of proper booleans - One-line license statement - Copyright format statement - Smaller cleanups
This commit is contained in:
parent
4ab96722cf
commit
07e8fb5dbb
81 changed files with 751 additions and 1591 deletions
|
@ -32,16 +32,13 @@ options:
|
|||
- Remove the dependencies to the existing dependencies.
|
||||
- Set the dependencies to only the values in the list replacing the
|
||||
existing dependencies.
|
||||
choices: [ add, remove, set ]
|
||||
default: set
|
||||
choices:
|
||||
- set
|
||||
- add
|
||||
- remove
|
||||
version_added: "2.3"
|
||||
desktop_interact:
|
||||
description:
|
||||
- Whether to allow the service user to interact with the desktop.
|
||||
- This should only be set to true when using the LocalSystem username.
|
||||
- This should only be set to C(yes) when using the LocalSystem username.
|
||||
type: bool
|
||||
default: 'no'
|
||||
version_added: "2.3"
|
||||
|
@ -67,7 +64,7 @@ options:
|
|||
- Name of the service.
|
||||
- If only the name parameter is specified, the module will report
|
||||
on whether the service exists or not without making any changes.
|
||||
required: true
|
||||
required: yes
|
||||
path:
|
||||
description:
|
||||
- The path to the executable to set for the service.
|
||||
|
@ -83,11 +80,7 @@ options:
|
|||
description:
|
||||
- Set the startup type for the service.
|
||||
- C(delayed) added in Ansible 2.3
|
||||
choices:
|
||||
- auto
|
||||
- manual
|
||||
- disabled
|
||||
- delayed
|
||||
choices: [ auto, delayed, disabled, manual ]
|
||||
state:
|
||||
description:
|
||||
- C(started)/C(stopped)/C(absent)/C(pause) are idempotent actions that will not run
|
||||
|
@ -98,12 +91,7 @@ options:
|
|||
- Only services that support the paused state can be paused, you can
|
||||
check the return value C(can_pause_and_continue).
|
||||
- You can only pause a service that is already started.
|
||||
choices:
|
||||
- started
|
||||
- stopped
|
||||
- restarted
|
||||
- absent
|
||||
- paused
|
||||
choices: [ absent, paused, started, stopped, restarted ]
|
||||
username:
|
||||
description:
|
||||
- The username to set the service to start as.
|
||||
|
@ -185,7 +173,7 @@ EXAMPLES = r'''
|
|||
state: restarted
|
||||
username: LocalSystem
|
||||
password: ""
|
||||
desktop_interact: True
|
||||
desktop_interact: yes
|
||||
|
||||
- name: Set the log on user to Network Service
|
||||
win_service:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue