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.  





-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/6cdc7e8f-7ecd-4e5b-a94d-90a755b48c79%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to