You should try ansible galaxy rather than writing your own roles from scratch.