community.windows.win_scoop (2.2.0) — module

Manage packages using Scoop

Authors: Jamie Magee (@JamieMagee)

Install collection

Install with ansible-galaxy collection install community.windows:==2.2.0


Add to requirements.yml

  collections:
    - name: community.windows
      version: 2.2.0

Description

Manage packages using Scoop.

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

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Install jq.
  community.windows.win_scoop:
    name: jq

Inputs

    
name:
    description:
    - Name of the package(s) to be installed.
    elements: str
    required: true
    type: list

purge:
    default: false
    description:
    - Remove all persistent data
    type: bool

state:
    choices:
    - absent
    - present
    default: present
    description:
    - State of the package on the system.
    - When C(absent), will ensure the package is not installed.
    - When C(present), will ensure the package is installed.
    type: str

global:
    default: false
    description:
    - Install the app globally
    type: bool

no_cache:
    default: false
    description:
    - Don't use the download cache
    type: bool

independent:
    default: false
    description:
    - Don't install dependencies automatically
    type: bool

architecture:
    aliases:
    - arch
    choices:
    - 32bit
    - 64bit
    description:
    - Force Scoop to install the package of a specific process architecture.
    type: str

skip_checksum:
    default: false
    description:
    - Skip hash validation
    type: bool

See also