You’re getting your “target” variable from vars_prompt just fine. It’s a ‘unicode object’ (i.e. a string), so you can’t use its non-existent ‘ms’ attribute. If you really want to pull in the “target” host interactively, the easiest fix is to restructure your “lparlist.yml” file like this: