I am working on a project that will be mostly api based running locally and attaching to different environments via the api (uri module)
My plan was to create a role for each type of call that will be made, that way playbooks can be created to use any series of roles. The problem i am running into is that i need to have the user provide data. For the few that will be ran non-interactivly i see the -e option overrides the same var that is prompted for, so that works when we need to run a playbook in that context.
From what i can tell it may not be possible to put vars_prompt into the role and have that work. Has anyone found a way to get this to work. The biggest part of it is prompting for the servername that is part of the uri url. I would like to not include this on every playbook , but as part of the login role that is always going to run. That role is also asking for a user login and password. That way we can keep application auditing intact , rather than using a service account.
-- To post to this group, send email to [EMAIL PROTECTED].