{"id":18555160,"url":"https://github.com/arillso/ansible.chocolatey","last_synced_at":"2025-04-09T23:31:59.731Z","repository":{"id":89493987,"uuid":"130062482","full_name":"arillso/ansible.chocolatey","owner":"arillso","description":"Manage the Chocolatey Source list and config.","archived":false,"fork":false,"pushed_at":"2020-10-22T11:08:30.000Z","size":45,"stargazers_count":2,"open_issues_count":0,"forks_count":4,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-24T13:44:06.551Z","etag":null,"topics":["ansible","ansible-role","chocolatey"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/arillso.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-04-18T12:57:22.000Z","updated_at":"2022-02-23T04:27:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"668e1e9f-b65e-4a18-b460-89e5c6294f44","html_url":"https://github.com/arillso/ansible.chocolatey","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arillso%2Fansible.chocolatey","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arillso%2Fansible.chocolatey/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arillso%2Fansible.chocolatey/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arillso%2Fansible.chocolatey/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arillso","download_url":"https://codeload.github.com/arillso/ansible.chocolatey/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248129889,"owners_count":21052655,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","ansible-role","chocolatey"],"created_at":"2024-11-06T21:25:28.637Z","updated_at":"2025-04-09T23:31:59.719Z","avatar_url":"https://github.com/arillso.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ansible Role: chocolatey\n\n\u003c!-- markdownlint-disable MD013 --\u003e\n\n[![Build Status](https://img.shields.io/travis/arillso/ansible.chocolatey.svg?branch=master\u0026style=popout-square)](https://travis-ci.org/arillso/ansible.chocolatey) [![license](https://img.shields.io/github/license/mashape/apistatus.svg?style=popout-square)](https://sbaerlo.ch/licence) [![Ansible Galaxy](https://img.shields.io/badge/ansible--galaxy-chocolatey-blue.svg?style=popout-square)](https://galaxy.ansible.com/arillso/chocolatey) [![Ansible Role](https://img.shields.io/ansible/role/d/25136.svg?style=popout-square)](https://galaxy.ansible.com/arillso/chocolatey)\n\n\u003c!-- markdownlint-enable MD013 --\u003e\n\n## Description\n\nThis role optimizes and configures the package manager Chocolatey and sets several settings of the package manager under Windows.\n\n## Installation\n\n```bash\nansible-galaxy install arillso.chocolatey\n```\n\n## Requirements\n\nNone\n\n## Role Variables\n\n### Source\n\nA list of possible Chocolatey repositories that can be added or removed.\n\n| Parameters           | Description                                                                                                                                                                                             |\n| -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| name                 | The name of the source. Required with actions other than list.                                                                                                                                          |\n| admin_only           | Makes the source visible to Administrators only.                                                                                                                                                        |\n| allow_self_service   | Allow the source to be used with self-service                                                                                                                                                           |\n| bypass_proxy         | Bypass the proxy when using this source.                                                                                                                                                                |\n| certificate          | The path to a .pfx file to use for X509 authenticated feeds.                                                                                                                                            |\n| certificate_password | The password for certificate if required.                                                                                                                                                               |\n| source               | The file/folder/url of the source.                                                                                                                                                                      |\n| user                 | The username used to access source.                                                                                                                                                                     |\n| password             | The password for source_username.                                                                                                                                                                       |\n| priority             | The priority order of this source compared to other sources, lower is better. All priorities above 0 will be evaluated first then zero-based values will be evaluated in config file order.             |\n| state                | absent, will remove the source. disabled, will ensure the source exists but is disabled. present, will ensure the source exists and is enabled.                                                         |\n| update_password      | always, the module will always set the password and report a change if certificate_password or source_password is set. on_create, the module will only set the password if the source is being created. |\n\n```yml\nchocolatey_source:\n  - name: chocolatey\n    source: https://chocolatey.org/api/v2/\n    priority: 0\n    state: present\n```\n\n### Config\n\nThere are settings that you can adjust in which way Chocolatey works for you.  \nSee: [https://chocolatey.org/docs/chocolatey-configuration#config-settings](https://chocolatey.org/docs/chocolatey-configuration#config-settings)\n\n```yml\nchocolatey_config:\n  # Default timeout for command execution\n  - commandExecutionTimeoutSeconds: 2700\n```\n\n### Features\n\nThere are functions that you can adjust in which way Chocolatey works for you.  \nSee: [https://chocolatey.org/docs/chocolatey-configuration#features](https://chocolatey.org/docs/chocolatey-configuration#features)\n\n```yml\nchocolatey_feature:\n  - useRememberedArgumentsForUpgrades: false\n  - usePackage0RepositoryOptimizations: false\n  - useEnhancedExitCodes: false\n```\n\n## Dependencies\n\nNone\n\n## Example Playbook\n\n```yml\n- hosts: all\n  roles:\n    - arillso.chocolatey\n```\n\n## Author\n\n- [Simon Bärlocher](https://sbaerlocher.ch)\n\n## License\n\nThis project is under the MIT License. See the [LICENSE](https://sbaerlo.ch/licence) file for the full license text.\n\n## Copyright\n\n(c) 2019, Arillso\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farillso%2Fansible.chocolatey","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farillso%2Fansible.chocolatey","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farillso%2Fansible.chocolatey/lists"}