Compare commits
1 Commits
b81372c07a
...
vagrantfil
| Author | SHA1 | Date | |
|---|---|---|---|
| a97eb30314 |
6
Vagrantfile
vendored
6
Vagrantfile
vendored
@@ -18,7 +18,11 @@ SSH_FORWARD = settings['SSH_FORWARD'] || false
|
||||
PLAYBOOK=ENV["PLAYBOOK"]
|
||||
if !PLAYBOOK || PLAYBOOK.empty?
|
||||
# PLAYBOOK setting in .vagrant.yml (priority #2)
|
||||
PLAYBOOK = settings['PLAYBOOK'] || 'default'
|
||||
PLAYBOOK = settings['PLAYBOOK'] || false
|
||||
if !PLAYBOOK || PLAYBOOK.empty?
|
||||
puts "[VAGRANTFILE ERROR]: Set PLAYBOOK setting in .vagrant.yml"
|
||||
abort
|
||||
end
|
||||
end
|
||||
|
||||
Vagrant.configure("2") do |config|
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
- name: Install 'default' aka nothing
|
||||
hosts: all
|
||||
become: true
|
||||
tasks: []
|
||||
Reference in New Issue
Block a user