Hi Guys,

Thank you for your suggestion. I need some clarification on the above given 
points.

Regarding using any environment variable from Command Line to check whether 
the playbook has been executing from there or through via automation 
(like rundeck or Jenkins), that's what your are specifying from your point? 
Could you please let me know any specific env variable which I can used 
here. Because I have this restriction in code to use any existing var, 
don't want to set up any new ones. That would be helpful if you could share 
your views.

I wanted to confirm, like setting extra vars in runback or Jenkins before 
running any playbook. Could you please explain the same in detail. Or other 
way of setting the var, please let me know. 

*I just wanted to know any way to skip the prompt or that conditional check 
to call role, while my playbook runs through automation, any detail 
guidance from your side will be really helpful. I am looking forward to it.*

Thanks & Regards

Neha Singh
On Tuesday, October 11, 2022 at 6:29:07 PM UTC+5:30 Brian Coca wrote:

> if ansible detects it is running in batch (no tty) it will not prompt,
> so I would suggest setting defaults or allowing other methods of
> providing the value (extra vars?)
>
> -- 
> ----------
> Brian Coca
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/1cca7840-d09e-4bf7-bf55-8f86cdf833ddn%40googlegroups.com.

Reply via email to