Refactoring vagrant actions