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
>
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
--
You received this message because you are subscribed to the Google Groups
"Ansible Development
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
"Ansi