You do have an option :) Set the *hash_behaviour 
<http://docs.ansible.com/intro_configuration.html#hash-behaviour>* in your 
ansible.cfg to *merge*.
Then you're able to write your second file like this:

at_service:
  svc_enabled: yes
  svc_state: started

Which will result in the following dictionary, after merging it with the 
first one:

at_service:
  pkg_name: at
  pkg_state: present
  svc_name: atd
  svc_enabled: yes
  svc_state: started

Not all people like that setting though, so keep that in mind.

-- 
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].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/4b6daab7-bcbb-4502-b131-e96e6aaccc8e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to