On 28. okt. 2016 20:53, Neil Watson wrote:
> My intention is to pass it to the role not redefine it. What do you suggest?
You have a few options.
You don't need to pass them to the role, variables is global so you can
use them directly in the role, image.one.state and image.one.path.
Instead of using the image variable in the role, you can rename it to
img. But since variables is global in Ansible I would recommend to
prefix variables in a role with the role name, so you could use
test_image in the role.
--
Kai Stian Olstad