update cap tasks to modify /etc/hosts file