Vagrantfile: fix ansible_playbook_command ruby string formatting

This commit is contained in:
Przemyslaw Kaminski 2015-09-01 10:05:00 +02:00
parent 08aa3d3edc
commit fef88ff8e8
1 changed files with 1 additions and 1 deletions

2
Vagrantfile vendored
View File

@ -6,7 +6,7 @@ VAGRANTFILE_API_VERSION = "2"
SLAVES_COUNT = 2
def ansible_playbook_command(filename, args=[])
"ansible-playbook -v -i \"localhost,\" -c local /vagrant/bootstrap/palybooks/${filename} ${args.join ' '}"
"ansible-playbook -v -i \"localhost,\" -c local /vagrant/bootstrap/palybooks/#{filename} #{args.join ' '}"
end
solar_script = ansible_playbook_command("solar.yml")