i have used vars directory , since defaults/main.yml is the lower priority 
, i would like to pick it from here.


On Wednesday, May 4, 2022 at 11:28:45 AM UTC+5:30 Venkat Eswer wrote:

> shall i define variables using conditions in default/main.yml file.
>
> ex : - host1.com
>          when: env == 'dev'
>        - host2.com
>          when: env == 'uat'
>
> quick response greatly appreciated 
>
> Regards
> Venkat
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-devel/3e4da120-d5b7-4abf-ae58-e03a0ea28287n%40googlegroups.com.

Reply via email to