I'm trying to understand what "['tag_Environment_%s' % args.environment]" means.
[] is a list literal in Python. [1, 2, 3] can also be written as list(1, 2, 3) % is the string format operator. 'bar: %s' % 'tada' results in the string 'bar: tada' ['tag_Environment_%s' % args.environment] results in a list containing one element: a string that begins with 'tag_Environment_' followed by whatever args.environment contains. Cheers, Paul -- 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 post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/b377f7b4-911f-4371-aefb-a0965b4f876d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
