chocolatey.chocolatey.win_chocolatey_source – Manages Chocolatey sources¶
Note
This plugin is part of the chocolatey.chocolatey collection (version 1.0.2).
To install it use: ansible-galaxy collection install chocolatey.chocolatey
.
To use it in a playbook, specify: chocolatey.chocolatey.win_chocolatey_source
.
New in version 2.7: of chocolatey.chocolatey
Synopsis¶
Used to managed Chocolatey sources configured on the client.
Requires Chocolatey to be already installed on the remote host.
Parameters¶
See Also¶
See also
- win_chocolatey
The official documentation on the win_chocolatey module.
- win_chocolatey_config
The official documentation on the win_chocolatey_config module.
- win_chocolatey_facts
The official documentation on the win_chocolatey_facts module.
- win_chocolatey_feature
The official documentation on the win_chocolatey_feature module.
Examples¶
- name: Remove the default public source
win_chocolatey_source:
name: chocolatey
state: absent
- name: Add new internal source
win_chocolatey_source:
name: internal repo
state: present
source: http://chocolatey-server/chocolatey
- name: Create HTTP source with credentials
win_chocolatey_source:
name: internal repo
state: present
source: https://chocolatey-server/chocolatey
source_username: username
source_password: password
- name: Disable Chocolatey source
win_chocolatey_source:
name: chocolatey
state: disabled
Authors¶
Jordan Borean (@jborean93)