For a first ansible playbook you should start with a small and simple task, till you get familiar with the syntax. Always try using in-built modules instead of writing custom codes. You should use version control to track any changes made to ansible.