You need to quote the whole thing, but with a different quote than the one you already use to quote the individual list items. In your case add single quotes around the value. Also, there should not be any spaces between the var name, the equal sign, and the value. Concluding:
interpreter_python_fallback='["/opt/bin/python3.6", "python3", "python3.7", "python3.6", "python3.5", "python2.7", "python2.6", "python", "/opt/freeware/bin/python", "/opt/bin/python3"]' On Wed, 4 Nov 2020 at 20:42, AIXTools <[email protected]> wrote: > > Wish I could edit - INI format (not int) > > On Wednesday, November 4, 2020 at 8:41:06 PM UTC+1 AIXTools wrote: >> >> In ANSIBLE.CFG, using int format I need to add an argument such as: >> >> interpreter_python_fallback = ["/opt/bin/python3.6", "python3", "python3.7", >> "python3.6", "python3.5", "python2.7", "python2.6", "python", >> "/opt/freeware/bin/python", "/opt/bin/python3"] >> >> I have been told that the [ ] form is not 'recognized' as a list argument. >> So, is there a way? >> >> Many thanks. >> >> M >> > -- > You received this message because you are subscribed to the Google Groups > "Ansible Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/a7e8e6a5-6284-4104-9d90-fe86d3df7e07n%40googlegroups.com. -- Dick Visser Trust & Identity Service Operations Manager GÉANT -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAL8fbwNTKS8DszsKHbb2Y_hPOMkBfW%3DrKzgmqjaX4-2D5HgUsg%40mail.gmail.com.
