Great ansible error message

Published: by Creative Commons Licence

Time to read: Less than 1 minute

This error message of ansible is one example of excellent ui design.

[DEPRECATION WARNING]: Invoking "homebrew" only once while using a loop via 
squash_actions is deprecated. Instead of using a loop to supply multiple items 
and specifying `name: `, please use `name: ['zsh', 'zsh-completions',
 'zsh-syntax-highlighting']` and remove the loop. This feature will be removed 
in version 2.11.

The nice thing about it is that the error message not only tells me in abstract words what to do. The following part is the exact one to copy / paste for fixing the deprecated feature:

name: ['zsh', 'zsh-completions', 'zsh-syntax-highlighting']

Nice ansible. Very nice!