PR #14359: foldling long lines in inventory files

Over the weekend I submitted an RFE, https://github.com/ansible/ansible/issues/14358, for being able to fold long lines in Ansible inventory files. I’m working with some inventory files that have several per-host variables, and discussing them in written form (email, articles, etc) is proving to be a pain. After looking at the code a bit I decided that implementing this feature wouldn’t be too hard, so I’ve made an initial implementation available at https://github.com/ansible/ansible/pull/14359. This implements “indent-style” line folding, so that you can write something like this:

other1.example.com
ansible_connection=ssh
ansible_user=mpdehaan

I’m curious if folks think this is a good idea, or a bad idea, or think it’s a good idea with a terrible implementation, or what.

Cheers,

– Lars