1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test/integration/targets/win_chocolatey_feature/tasks/main.yml
Jordan Borean 7ae5912d91
win_chocolatey_feature: new module (#42848)
* win_chocolatey_feature: new module

* Fixed up copyright header in PowerShell file
2018-07-18 10:36:43 +10:00

20 lines
412 B
YAML

---
- name: ensure Chocolatey is installed
win_chocolatey:
name: chocolatey
state: present
- name: ensure we start from a baseline for test feature
win_chocolatey_feature:
name: checksumFiles
state: disabled
- block:
- name: run tests
include_tasks: tests.yml
always:
- name: set feature back to enabled
win_chocolatey_feature:
name: checksumFiles
state: enabled