community.windows.win_scoop_bucket module – Manage Scoop buckets
Note
This module is part of the community.windows collection (version 1.10.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 community.windows
.
To use it in a playbook, specify: community.windows.win_scoop_bucket
.
New in version 1.0.0: of community.windows
Parameters
Parameter |
Comments |
---|---|
Name of the Scoop bucket. |
|
Git repository that contains the scoop bucket |
|
State of the Scoop bucket. When When Choices:
|
See Also
See also
- community.windows.win_scoop
The official documentation on the community.windows.win_scoop module.
- Scoop website
More information about Scoop
- Scoop directory
A directory of buckets for the scoop package manager for Windows
Examples
- name: Add the extras bucket
community.windows.win_scoop_bucket:
name: extras
- name: Remove the versions bucket
community.windows.win_scoop_bucket:
name: versions
state: absent
- name: Add a custom bucket
community.windows.win_scoop_bucket:
name: my-bucket
repo: https://github.com/example/my-bucket
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
The result code of the scoop action Returned: always Sample: 0 |
|
The raw output from the scoop action Returned: on failure or when verbosity is greater than 1 Sample: “The test bucket was added successfully.” |
Authors
Jamie Magee (@JamieMagee)