Both syntaxes are valid, you see more of the key=value in the docs because it is more concise (1 line). When the module requires many arguments we tend to switch (check the cloud guides).
The truth is that the yaml syntax might be better as it avoids an extra parser. -- 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/CAJ5XC8%3Donp-eftnKERTWUTA7cmm6nB7if4MPHbP80DD7WjMoGQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
