How specify a list value as variable in ansible inventory file?

Question:

I need something like (ansible inventory file):

However, ansible does not recognize ‘locales’ as a list.

Answer:

You can pass a list or object like this:

Leave a Reply