# Questions on group\_vars file syntax

**URL:** <https://forum.ansible.com/t/questions-on-group-vars-file-syntax/13363>\
**Category:** Ansible Project\
**Created:** [August 26, 2013, 5:01pm UTC](https://forum.ansible.com/t/questions-on-group-vars-file-syntax/13363 "2013-08-26T17:01:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![howachen](https://avatars.discourse-cdn.com/v4/letter/h/54ee81/32.png) [@howachen](https://forum.ansible.com/u/howachen)\
**Post date:** [August 26, 2013, 5:01pm UTC](https://forum.ansible.com/t/questions-on-group-vars-file-syntax/13363/1 "2013-08-26T17:01:10Z")

</div>

Hi,

There are two questions on group\_vars file:

1. Is it possible to include the “ProxyCommand” in the group\_vars file instead of my ssh config?
2. How to express multiple vars in group\_vars file , e.g.

[database]  
foo single\_var=bar multiple\_vars=??

Thanks

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan2](https://avatars.discourse-cdn.com/v4/letter/m/da6949/32.png) [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Post date:** [August 26, 2013, 7:49pm UTC](https://forum.ansible.com/t/questions-on-group-vars-file-syntax/13363/2 "2013-08-26T19:49:23Z")

</div>

(1) no.

(2) what you show is an inventory file, example /etc/ansible/hosts

A group\_vars file would be /etc/ansible/group\_vars/groupname and takes data in YAML format.
