Clean up glance role

Add names to tasks, use failed_when, add a handler flush to avoid
restarting glance twice, loop over lineinfile, remove name on include,
whitespace.