mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-27 10:40:22 -07:00
Add the encoding parameter to the options of csvfile (#15283)
I assume this ships with v2.1, if it would ship with e.g. v2.0.3.0 let me know.
This commit is contained in:
parent
783dc2f0f6
commit
cf958ca457
1 changed files with 3 additions and 2 deletions
|
@ -135,9 +135,10 @@ appears exactly once in column 0 (the first column, 0-indexed) of the table. All
|
||||||
Field Default Description
|
Field Default Description
|
||||||
---------- ------------ -----------------------------------------------------------------------------------------
|
---------- ------------ -----------------------------------------------------------------------------------------
|
||||||
file ansible.csv Name of the file to load
|
file ansible.csv Name of the file to load
|
||||||
delimiter TAB Delimiter used by CSV file. As a special case, tab can be specified as either TAB or \t.
|
|
||||||
col 1 The column to output, indexed by 0
|
col 1 The column to output, indexed by 0
|
||||||
default empty string return value if the key is not in the csv file
|
delimiter TAB Delimiter used by CSV file. As a special case, tab can be specified as either TAB or \t.
|
||||||
|
default empty string Default return value if the key is not in the csv file
|
||||||
|
encoding utf-8 Encoding (character set) of the used CSV file (added in version 2.1)
|
||||||
========== ============ =========================================================================================
|
========== ============ =========================================================================================
|
||||||
|
|
||||||
.. note:: The default delimiter is TAB, *not* comma.
|
.. note:: The default delimiter is TAB, *not* comma.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue