Revert "Revert "Allow ini plugin to load file using other encoding than utf8." (#27407)"

This reverts commit 520696fb39.
This commit is contained in:
Matt Clay 2017-07-27 18:15:56 -07:00
commit 51bd07204b
9 changed files with 78 additions and 35 deletions

View file

@ -253,6 +253,7 @@ type ini Type of the file. Can be ini or properties (for java
file ansible.ini Name of the file to load
section global Default section where to lookup for key.
re False The key is a regexp.
encoding utf-8 Text encoding to use.
default empty string return value if the key is not in the ini file
========== ============ =========================================================================================