> On 14 Sep 2016, at 08:04, Kai Stian Olstad <[email protected]> 
> wrote:
> 
> On 12.09.2016 15:15, 'Sean Cavanaugh' via Ansible Project wrote:
>> In this thread though Dehaan said this should work->
>>> I just tried this on 1.9.1 I have /group_vars/staging/staging.yml and
>>> /group_vars/staging/secrets.yml and it seems to me that it is not merging
>>> the files properly.
>> But others said this was a problem.  I just don't think this is documented
>> well.  If its not supposed to work I guess it shouldn't work :(
> 
> According to the documentation it should work
> https://docs.ansible.com/ansible/intro_inventory.html#splitting-out-host-and-group-specific-data

And it does. I use this feature heavily since before ansible 1.9, never had a 
problem.
Be careful to not duplicate variables definitions. Starting from version 2 
ansible issue a warning if a variable has been defined more than once, but if I 
remember well it was silent on older versions.

> --
> Kai Stian Olstad

Ciao
Andrea

--
Andrea Dell'Amico
http://adellam.sevenseas.org/




-- 
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/4A1D7FB0-079B-4884-A52C-864C6CA6AEC4%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to