Refactored playbook.

Restructured and slightly changed format of the playbook according to https://servercheck.in/blog/yaml-best-practices-ansible-playbooks-tasks
I still grouped package install tasks but at least they are somewhat related.