3 ms·
> Vagrantfile configs are actually Ruby scripts I took advantage of this by storing all my settings in YAML and then using the same YAML for both Vagrant and m
by djsumdog 9y ago
> Vagrantfile configs are actually Ruby scripts
I took advantage of this by storing all my settings in YAML and then using the same YAML for both Vagrant and my Ansible provisioner:
Here's the Ruby Script that loads the YAML:
https://github.com/BigSense/vSense/blob/master/core/vagrantenv.rb https://github.com/BigSense/vSense/blob/master/core/vagrante...
That I call from my Vagrant file:
https://github.com/BigSense/vSense/blob/master/core/infrastructure/Vagrantfile https://github.com/BigSense/vSense/blob/master/core/infrastr...
That is also loaded in all my Ansible roles:
https://github.com/BigSense/vSense/blob/master/ansible/bigsense.yml https://github.com/BigSense/vSense/blob/master/ansible/bigse...