win_chocolatey_feature - Manages Chocolatey features

New in version 2.7.

Synopsis

Parameters

Parameter Choices/Defaults Comments
name
required
The name of the feature to manage.
Run choco.exe feature list to get a list of features that can be managed.
state
    Choices:
  • disabled
  • enabled ←
When disabled then the feature will be disabled.
When enabled then the feature will be enabled.

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

Status

This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.

Maintenance

This module is flagged as community which means that it is maintained by the Ansible Community. See Module Maintenance & Support for more info.

For a list of other modules that are also maintained by the Ansible Community, see here.

Author

  • Jordan Borean (@jborean93)

Hint

If you notice any issues in this documentation you can edit this document to improve it.