Passing ansible_user via service catalog item

Hey there,
is there an option to pass the ansible_user variable via service dialog item?
I want to give the user the opportunity to enter the username of his vm on the service dialog to run an ansible playbook.
Many thanks in advance

@moritz_lankes what I did was use the Ansible add_host module ( and pass in parameters as needed. In your case the ansible_user attribute would set that. I added the host to another group and then added that group as the hosts target later my playbook.

1 Like