Refactoring the ansible roles and playbook