refactor playbook for ansible roles