Is it considered bad practice to have variables in group_vars defined as such:


ntp:
  server: server.foo.com
  setting: foo

myapp:
   database: bar
   option: baz


instead of :

ntp_server: server.foo.com
ntp_setting: foo

myapp_database: bar
myapp_option: baz


It seems the first option is cleaner, but I don't believe you could
override variables in your hosts file.  Instead, you'd create a
inventory/host_vars/myhost file to override?

Thanks,

James

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to