Note
This plugin is part of the chocolatey.chocolatey collection.
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 2.7: of chocolatey.chocolatey
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
The official documentation on the win_chocolatey module.
The official documentation on the win_chocolatey_config module.
The official documentation on the win_chocolatey_facts module.
The official documentation on the win_chocolatey_source module.
- 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
© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.10/collections/chocolatey/chocolatey/win_chocolatey_feature_module.html