deekayen.chocolatey

Chocolatey

CI Project Status: Unsupported – The project has reached a stable, usable state but the author(s) have ceased all work on it. A new maintainer may be desired. BSD 3-Clause license Windows platform

This guide helps you install Chocolatey, a package manager for Microsoft Windows.

If your system doesn’t have Chocolatey, the win_chocolatey module can install it. This role ensures that Chocolatey is installed on a system, even if you don't run win_chocolatey tasks. For more details, visit Ansible Chocolatey Module Documentation.

Role Variables

The tasks will look for choco.exe in the chocolatey_path. By default, the installer PowerShell script downloads from chocolatey.org. If your machine doesn't have Internet access or uses a custom script, change the chocolatey_installer.

chocolatey_installer: https://chocolatey.org/install.ps1
chocolatey_path: c:/ProgramData/chocolatey
chocolatey_version: latest
chocolatey_windows_compression: "false"

Example Playbook

Here’s an example of how to use this role:

- hosts: win_servers
  roles:
     - role: deekayen.chocolatey
       chocolatey_installer: https://chocolatey.org/install.ps1
       chocolatey_path: c:/ProgramData/chocolatey

Requirements

The user running this role must have administrator rights.

  • Must be on Windows 7 or higher / Windows Server 2008 or higher
  • PowerShell version 3 or higher
  • .NET Framework 4 or higher (the installation will try to install .NET 4.0 if it's not already installed)

Dependencies

There are no dependencies.

License

This project is licensed under the BSD license.

Informazioni sul progetto

Install the Chocolatey package manager on Microsoft Windows.

Installa
ansible-galaxy install deekayen.chocolatey
Licenza
bsd-3-clause
Download
86.2k
Proprietario
My initials spelled as a word - pronounced /dEE-kAY-En/