Fixed lvol ValueError with float size. (#36811)

* Fixed lvol ValueError with float size.

* Fixed lvol ValueError with float size.

* Initialized locale using system default.
Changed size validation from float() to locale.atof().

* Added changelog fragment.
This commit is contained in:
Tuan Anh Hoang-Vu 2019-02-22 03:41:50 -05:00 committed by John R Barker
commit b0fc2a2103
2 changed files with 13 additions and 10 deletions

View file

@ -0,0 +1,2 @@
bugfixes:
- lvol - fixed ValueError when using float size (https://github.com/ansible/ansible/issues/32886, https://github.com/ansible/ansible/issues/29429)