group_vars/vars.yml
[root@master mywork]# cat group_vars/vars
group_vars/vars.yml
[root@master mywork]# cat group_vars/vars
The group_vars
directory contains files for each hostgroup defined in your inventory file. The files define variables that member hosts can use. So in your case the file should be group_vars/docker_con.yml