Bash guides (like this)
typically talk about arrays in terms of globs. Makes sense, since that’s a really common use.
But sometimes you want to be able to iterate through plain old strings, like
this where we iterate through three words and for each of those iterate through
two others so we can generate some commands:
which will wind up generating six commands, assuming AWS_ENV=qa:
Bringing environments up and down every day means that Ansible’s EC2 cache can
get invalid much quicker. You can invalidate it, and check the results, with: