You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration/targets/win_format/tasks/main.yml

8 lines
250 B
YAML

---
- name: Check if Format-Volume is supported
win_shell: if (Get-Command -Name Format-Volume -ErrorAction SilentlyContinue) { $true } else { $false }
register: module_present
- include: pre_test.yml
when: module_present.stdout | trim | bool