I struggle to find best practices or conventions making it easier to maintain and for others to read my Ansible playbooks/roles. Let's say I'm creating an ini-file:
[drinks]
fav=lemonade
There are multiple ways to do this in Ansible, I'll mention two:
- Use
ini_filemodule - Copy a file with the same content using the
copymodule
Which method is preferable?
Thanks.