refactored playbook to use npm module and run faster on subsequent runs