community.windows.win_scoop module – Manage packages using Scoop

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.

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:

  • no ← (default)

  • yes

independent

boolean

Don’t install dependencies automatically

Choices:

  • no ← (default)

  • yes

name

list / elements=string / required

Name of the package(s) to be installed.

no_cache

boolean

Don’t use the download cache

Choices:

  • no ← (default)

  • yes

purge

boolean

Remove all persistent data

Choices:

  • no ← (default)

  • yes

skip_checksum

boolean

Skip hash validation

Choices:

  • no ← (default)

  • yes

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)