Created
October 30, 2015 03:58
-
-
Save ktaragorn/eb96dd049370b004cadc to your computer and use it in GitHub Desktop.
Vagrant provisioning configure with shell and ansible
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# this is apt-mirrors.sh to make all apt sources pick the closest mirrors. | |
# this works very well and inline does not, perhaps more escaping needed | |
config.vm.provision "shell", path: "https://gist.githubusercontent.com/ktaragorn/81496cb4f8ff4bfddb00/raw/50b2d5530ef39aab958d067c00404de6f212c254/apt-mirrors.sh" | |
config.vm.provision "ansible" do |ansible| | |
ansible.playbook = "ansible/setup.yml" | |
ansible.groups = { "vagrant" => "all"} | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment