New in version 2.7.
Parameter | Choices/Defaults | Comments |
---|---|---|
name
string
/ required
|
The name of the feature to manage.
Run
choco.exe feature list to get a list of features that can be managed. |
|
state
string
|
|
When
disabled then the feature will be disabled.When
enabled then the feature will be enabled. |
See also
- name: Disable file checksum matching
win_chocolatey_feature:
name: checksumFiles
state: disabled
- name: Stop Chocolatey on the first package failure
win_chocolatey_feature:
name: stopOnFirstPackageFailure
state: enabled
Hint
If you notice any issues in this documentation you can edit this document to improve it.