Vagrantfile: fix ansible_playbook_command ruby string formatting
This commit is contained in:
parent
08aa3d3edc
commit
fef88ff8e8
2
Vagrantfile
vendored
2
Vagrantfile
vendored
@ -6,7 +6,7 @@ VAGRANTFILE_API_VERSION = "2"
|
|||||||
SLAVES_COUNT = 2
|
SLAVES_COUNT = 2
|
||||||
|
|
||||||
def ansible_playbook_command(filename, args=[])
|
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
|
end
|
||||||
|
|
||||||
solar_script = ansible_playbook_command("solar.yml")
|
solar_script = ansible_playbook_command("solar.yml")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user