Removed the agent name change. Will retry the error creation again.
Added only_if for ubuntu check and the privilidge is changed to 0755 from 00755