Thanks, but did you see the linked gist? That's what I tried but it doesn't
work. `ansible` is some kind of config object and not a hash.

On Fri, Oct 16, 2020 at 6:21 AM dnmo...@gmail.com <dnmor...@gmail.com>
wrote:

>
> You're probably looking to merge two hashes To do this in Ruby
>
> https://ruby-doc.org/core-2.0.0/Hash.html#method-i-merge
>
> hash3 = hash1.merge(hash2)
>
>
> On Thursday, October 15, 2020 at 3:03:37 PM UTC-4 jamie...@gmail.com
> wrote:
>
>> I have a few Ansible provisioners and I'd like to have some common
>> configs apply to them all.
>>
>> This isn't the right way to do it, apparently:
>> https://gist.github.com/jamiejackson/b4f3593417e708d1908ae023275715ea
>>
>> Is there a way?
>>
>> Thanks,
>> Jamie
>>
>>
>>
> --
> This mailing list is governed under the HashiCorp Community Guidelines -
> https://www.hashicorp.com/community-guidelines.html. Behavior in
> violation of those guidelines may result in your removal from this mailing
> list.
>
> GitHub Issues: https://github.com/hashicorp/vagrant/issues
> Discuss: https://discuss.hashicorp.com/c/vagrant/24
> ---
> You received this message because you are subscribed to the Google Groups
> "Vagrant" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to vagrant-up+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/vagrant-up/b819a5b5-e710-47f2-8c5f-487c39a24e3cn%40googlegroups.com
> <https://groups.google.com/d/msgid/vagrant-up/b819a5b5-e710-47f2-8c5f-487c39a24e3cn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/hashicorp/vagrant/issues
Discuss: https://discuss.hashicorp.com/c/vagrant/24
--- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vagrant-up+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/CA%2BonWPf9JiPr457ANMswRkhD%3Dqvngr9N5OXpkqtUxeFs3tD%2Bpw%40mail.gmail.com.

Reply via email to