ansible-collections / community.windows

Windows community collection for Ansible
https://galaxy.ansible.com/community/windows
GNU General Public License v3.0
203 stars 155 forks source link

fix win_partition auto assign next free letter #463

Closed xcom1710 closed 1 year ago

xcom1710 commented 1 year ago
SUMMARY

According to the documentation you can automatically assign a drive letter when you specify the keyword "auto". The code is a bit problematic in cases where your server or pc has a partition with an assigned drive letter of either a, u, t or o.

This fixes the problem.

ISSUE TYPE
COMPONENT NAME

Module: win_partition.ps1

ADDITIONAL INFORMATION
jborean93 commented 1 year ago

Would it be possible to add a changelog fragment for the PR as per https://docs.ansible.com/ansible/latest/community/development_process.html#creating-a-changelog-fragment.

xcom1710 commented 1 year ago

yeah sure