Questions on group_vars file syntax

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

(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.