chocolatey.chocolatey.win_chocolatey_feature module – Manages Chocolatey features
Note
This module is part of the chocolatey.chocolatey collection (version 1.2.0).
You might already have this collection installed if you are using the ansible
package.
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install chocolatey.chocolatey
.
To use it in a playbook, specify: chocolatey.chocolatey.win_chocolatey_feature
.
New in version 0.2.7: of chocolatey.chocolatey
Synopsis
Used to enable or disable features in Chocolatey.
Parameters
Parameter |
Comments |
---|---|
The name of the feature to manage. Run For a list of options see Chocolatey feature docs |
|
When When Choices:
|
See Also
See also
- M(win_chocolatey)
The official documentation on the win_chocolatey module.
- M(win_chocolatey_config)
The official documentation on the win_chocolatey_config module.
- M(win_chocolatey_facts)
The official documentation on the win_chocolatey_facts module.
- M(win_chocolatey_source)
The official documentation on the win_chocolatey_source module.
Examples
- 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