Ansible/playbook/windows/choco/installChoco.yml

18 lines
431 B
YAML
Raw Normal View History

- name: Install Choco
hosts: windows
tasks:
- name: Install Choco
win_chocolatey:
name: chocolatey
source: internal_repo
# This was added because of breaking changes added to choco that conflicted with ansible
# https://github.com/ansible/ansible/pull/53841
- name: Disable EnhancedExitCodes
win_chocolatey_feature:
name: useEnhancedExitCodes
state: disabled