mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-06-29 23:49:09 +00:00
Remove inline comments from inventory tokenizing.
This commit is contained in:
parent
ad1a02aa55
commit
ba78360c52
2 changed files with 10 additions and 2 deletions
8
test/inventory_dir/3comments
Normal file
8
test/inventory_dir/3comments
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
[major-god] # group with inline comments
|
||||
zeus var_a=1 # host with inline comments
|
||||
# A comment
|
||||
thor
|
||||
|
||||
[minor-god] # group with inline comment and unbalanced quotes: ' "
|
||||
morpheus # host with inline comments and unbalanced quotes: ' "
|
||||
# A comment with unbalanced quotes: ' "
|
||||
Loading…
Add table
Add a link
Reference in a new issue