community.windows.win_scoop module – Manage packages using Scoop

Note

This module is part of the community.windows collection (version 1.13.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.

Synopsis

  • Manage packages using Scoop.

  • If Scoop is missing from the system, the module will install it.

Parameters

Parameter

Comments

architecture

aliases: arch

string

Force Scoop to install the package of a specific process architecture.

Choices:

  • "32bit"

  • "64bit"

global

boolean

Install the app globally

Choices:

  • false ← (default)

  • true

independent

boolean

Don’t install dependencies automatically

Choices:

  • false ← (default)

  • true

name

list / elements=string / required

Name of the package(s) to be installed.

no_cache

boolean

Don’t use the download cache

Choices:

  • false ← (default)

  • true

purge

boolean

Remove all persistent data

Choices:

  • false ← (default)

  • true

skip_checksum

boolean

Skip hash validation

Choices:

  • false ← (default)

  • true

state

string

State of the package on the system.

When absent, will ensure the package is not installed.

When present, will ensure the package is installed.

Choices:

  • "absent"

  • "present" ← (default)

See Also

See also

chocolatey.chocolatey.win_chocolatey

The official documentation on the chocolatey.chocolatey.win_chocolatey module.

Scoop website

More information about Scoop

Scoop installer repository

GitHub repository for the Scoop installer

Scoop main bucket

GitHub repository for the main bucket

Examples

- name: Install jq.
  community.windows.win_scoop:
    name: jq

Authors

  • Jamie Magee (@JamieMagee)