arillso.system.chocolatey_packages role – Manage Chocolatey packages

Note

This role is part of the arillso.system collection (version 0.0.34).

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 arillso.system.

To use it in a playbook, specify: arillso.system.chocolatey_packages.

Entry point install_chocolatey_package – Manage Chocolatey packages

Synopsis

  • This specification manages the installation, upgrade, and removal of Chocolatey packages on a Windows system.

Parameters

Parameter

Comments

chocolatey_packages_allow_empty_checksums

boolean

Allow empty checksums for packages by default.

Choices:

  • false ← (default)

  • true

chocolatey_packages_allow_multiple

boolean

Allow multiple versions of a package by default.

Choices:

  • false ← (default)

  • true

chocolatey_packages_allow_prerelease

boolean

Include pre-release versions by default.

Choices:

  • false ← (default)

  • true

chocolatey_packages_architecture

string

Architecture of the package (e.g., ‘x86’, ‘x64’), default is unset.

chocolatey_packages_bootstrap_script

string

Script for bootstrapping Chocolatey, default is unset.

chocolatey_packages_choco_args

string

Additional arguments to pass to Chocolatey, default is unset.

chocolatey_packages_force

boolean

Force the installation by default.

Choices:

  • false ← (default)

  • true

chocolatey_packages_ignore_checksums

boolean

Ignore checksums by default.

Choices:

  • false ← (default)

  • true

chocolatey_packages_ignore_dependencies

boolean

Ignore dependencies by default.

Choices:

  • false ← (default)

  • true

chocolatey_packages_install_args

string

Additional arguments for the installer, default is unset.

Default: ""

chocolatey_packages_override_args

boolean

Override the default installation arguments by default.

Choices:

  • false ← (default)

  • true

chocolatey_packages_package_params

string

Parameters to pass to the package, default is unset.

Default: ""

chocolatey_packages_pinned

boolean

Pin the package version by default.

Choices:

  • false ← (default)

  • true

chocolatey_packages_proxy_password

string

Proxy password, default is unset.

Default: ""

chocolatey_packages_proxy_url

string

URL of the proxy server, default is unset.

Default: ""

chocolatey_packages_proxy_username

string

Username for the proxy server, default is unset.

Default: ""

chocolatey_packages_remove_dependencies

boolean

Remove package dependencies by default.

Choices:

  • false ← (default)

  • true

chocolatey_packages_skip_scripts

boolean

Skip running Chocolatey scripts by default.

Choices:

  • false ← (default)

  • true

chocolatey_packages_source

string

The source to install the package from, default is unset.

Default: ""

chocolatey_packages_source_password

string

Password for the package source, default is unset.

Default: ""

chocolatey_packages_source_username

string

Username for the package source, default is unset.

Default: ""

chocolatey_packages_timeout

integer

Timeout for the installation process, default is unset.

Default: 2700

chocolatey_packages_validate_certs

boolean

Validate SSL certificates by default.

Choices:

  • false

  • true ← (default)

Entry point main – Manage Chocolatey packages

Synopsis

  • This specification manages the installation, upgrade, and removal of Chocolatey packages on a Windows system.

Parameters

Parameter

Comments

chocolatey_packages_list

list / elements=dictionary

A list of dictionaries specifying Chocolatey packages to manage.

Default: []

allow_empty_checksums

boolean

Whether to allow empty checksums for packages.

Choices:

  • false

  • true

allow_multiple

boolean

Whether to allow multiple versions of a package.

Choices:

  • false

  • true

allow_prerelease

boolean

Whether to include pre-release versions.

Choices:

  • false

  • true

architecture

string

Architecture of the package (e.g., ‘x86’, ‘x64’).

bootstrap_script

string

Script for bootstrapping Chocolatey.

choco_args

string

Additional arguments to pass to Chocolatey.

force

boolean

Force the installation or upgrade of the package.

Choices:

  • false

  • true

ignore_checksums

boolean

Whether to ignore checksums on packages.

Choices:

  • false

  • true

ignore_dependencies

boolean

Ignore package dependencies during installation.

Choices:

  • false

  • true

install_args

string

Arguments to pass to the installer.

name

string

Name of the Chocolatey package.

override_args

boolean

Override default package installation arguments.

Choices:

  • false

  • true

package_params

string

Package parameters to pass.

pinned

boolean

Pin the package version.

Choices:

  • false

  • true

proxy_password

string

Password for the proxy server.

proxy_url

string

URL of the proxy server.

proxy_username

string

Username for the proxy server.

remove_dependencies

boolean

Remove package dependencies.

Choices:

  • false

  • true

skip_scripts

boolean

Skip running Chocolatey scripts.

Choices:

  • false

  • true

source

string

Source URL or alias of the Chocolatey package.

source_password

string

Password for the package source.

source_username

string

Username for the package source.

state

string

State of the package (‘present’, ‘absent’, or ‘latest’).

Default: "present"

timeout

integer

Timeout for the installation process.

validate_certs

boolean

Validate SSL certificates for the package source.

Choices:

  • false

  • true

version

string

Specific version of the package to be installed. Omitted by default.