Here {{ros_user_background}} can use {{ros_user_background | basename }} so we can use a full path in teh config and just get the name here.

There are lots of useful filters that can be used with vars http://docs.ansible.com/playbooks_variables.html#other-useful-filters