mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
New lookup plugin : ini. Can handle ini file and java properties file.
Can also read a list of value in a section using regexp.
This commit is contained in:
24
test/integration/lookup.ini
Normal file
24
test/integration/lookup.ini
Normal file
@@ -0,0 +1,24 @@
|
||||
[global]
|
||||
# A comment
|
||||
value1=Text associated with value1 and global section
|
||||
value2=Same for value2 and global section
|
||||
value.dot=Properties with dot
|
||||
field.with.space = another space
|
||||
|
||||
[section1]
|
||||
value1=Another value for section1
|
||||
# No value2 in this section
|
||||
|
||||
[value_section]
|
||||
value1=1
|
||||
value2=2
|
||||
value3=3
|
||||
other1=4
|
||||
other2=5
|
||||
|
||||
[other_section]
|
||||
value1=1
|
||||
value2=2
|
||||
value3=3
|
||||
other1=4
|
||||
other2=5
|
||||
Reference in New Issue
Block a user