![]() I have chosen to use the shorthand syntax for simpler tasks, and structured maps for more complex tasks, since they feel more maintainable and readable to my eye. SummaryĪs I mentioned in the mailing list, one of Ansible's strengths is its flexibility any one of the above methods of task definition is equally valid and functional. ![]() Typically, if you can find a way to run a command without having to use creates and chdir, or very long commands (which are arguably unreadable either in single or multiline format!), it's better to do that instead of this monstrosity.īut sometimes the above is as good as you can do to keep unweildy tasks sane. Translated_yaml = /sites/default/settings.php
0 Comments
Leave a Reply. |