I am trying to read the variable value from group vars. But ansible is not able to find the value.

My inventory folder is like:

```
prod.ini
uat1.ini
uat2.ini

```

my uat1.ini looks like:

```
[server a]
12.12.12.12

[server b]
13.13.131.1

```

my uat2.ini looks like:

```
[server a]
1.1.1.2

[server b]
2.23.12.5

```

group vars folder looks like:

```
 all
 environment

```

inside environment folder i have sub folders which are

```
uat1 and uat2

```

in uat1 and uat2 i have file named pick.yml

for uat1 i have below pick.yml

```
modern: "re run"

```

for uat2 i have below pick.yml

```
modern: "no re run"

```

my playbook looks like:

```
- name: try and run to get the value of group vars
  hosts: server a
  debug:
     var: modern

```

i run my playbook using below command:

```
 ansible-playbook -i inventory/uat2.ini  -b playbookname

```

my expectation is - that it should return the value from uat2 which is "no re run". but is not not able to return that. 
But when i put that group vars in group\_vars/all, playbook is able to read it. 

Thanks