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"]
|
PLAYBOOK=ENV["PLAYBOOK"]
|
||||||
if !PLAYBOOK || PLAYBOOK.empty?
|
if !PLAYBOOK || PLAYBOOK.empty?
|
||||||
# PLAYBOOK setting in .vagrant.yml (priority #2)
|
# 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
|
end
|
||||||
|
|
||||||
Vagrant.configure("2") do |config|
|
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