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

后端 未结 5 1174
栀梦
栀梦 2020-12-13 06:34

I need something like (ansible inventory file):

[example]
127.0.0.1 timezone=\"Europe/Amsterdam\" locales=\"en_US\",\"nl_NL\"

However, ansi

5条回答
  •  萌比男神i
    2020-12-13 06:50

    You can custom a filter, to split string to list

    Github ansible example show how to create custom filter.

提交回复
热议问题