community.windows.win_scoop – Manage packages using Scoop

Note

This plugin is part of the community.windows collection (version 1.9.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 Choices/Defaults Comments
architecture
string
    Choices:
  • 32bit
  • 64bit
Force Scoop to install the package of a specific process architecture.

aliases: arch
global
boolean
    Choices:
  • no ←
  • yes
Install the app globally
independent
boolean
    Choices:
  • no ←
  • yes
Don't install dependencies automatically
name
list / elements=string / required
Name of the package(s) to be installed.
no_cache
boolean
    Choices:
  • no ←
  • yes
Don't use the download cache
purge
boolean
    Choices:
  • no ←
  • yes
Remove all persistent data
skip_checksum
boolean
    Choices:
  • no ←
  • yes
Skip hash validation
state
string
    Choices:
  • absent
  • present ←
State of the package on the system.
When absent, will ensure the package is not installed.
When present, will ensure the package is installed.

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)