W3cubDocs

/Ansible 2.11

community.windows.win_scoop_bucket – Manage Scoop buckets

Note

This plugin is part of the community.windows collection (version 1.2.0).

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

Synopsis

  • Manage Scoop buckets

Requirements

The below requirements are needed on the host that executes this module.

  • git

Parameters

Parameter Choices/Defaults Comments
name
string / required
Name of the Scoop bucket.
repo
string
Git repository that contains the scoop bucket
state
string
    Choices:
  • absent
  • present
State of the Scoop bucket.
When absent, will ensure the package is not installed.
When present, will ensure the package is installed.

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

Authors

  • Jamie Magee (@JamieMagee)

© 2012–2018 Michael DeHaan
© 2018–2021 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.11/collections/community/windows/win_scoop_bucket_module.html