LoginSignup
5
5

More than 5 years have passed since last update.

[memo]Vagrant環境のProvisioningにAnsibleを使う

Last updated at Posted at 2016-03-30

Vagrant環境のセットアップをAnsibleで行いたい場合、Vagrantfileに以下の記載をする

config.vm.provision "ansible" do |ansible|
  ansible.playbook = "ansible/sites.yml"
  ansible.verbose = "vv"
  ansible.sudo = true
end
5
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
5