mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
4432c01ceb
If someone has a " #" in a quoted var string, it will interpret that as a comment and refuse to load the inventory file due to an unbalanced quote. Noisy failure > unexpected behavior.
8 lines
301 B
Text
8 lines
301 B
Text
[major-god] # group with inline comments
|
|
zeus var_a="1#2" # host with inline comments and "#" in the var string
|
|
# 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: ' "
|