alter confi.yml file with exclude line