Refactor ansible config