Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
krislamo committed Aug 30, 2023
1 parent 9b5be29 commit 7572e5d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,9 @@ SSH_FORWARD = settings['SSH_FORWARD'] || false

# Default to shell environment variable: PLAYBOOK (priority #1)
PLAYBOOK=ENV["PLAYBOOK"]
if !PLAYBOOK
if !PLAYBOOK || PLAYBOOK.empty?
# PLAYBOOK setting in .vagrant.yml (priority #2)
PLAYBOOK = settings['PLAYBOOK'] || false
if !PLAYBOOK || PLAYBOOK.empty?
puts "[VAGRANTFILE ERROR]: Set PLAYBOOK setting in .vagrant.yml"
abort
end
PLAYBOOK = settings['PLAYBOOK'] || 'default'
end

Vagrant.configure("2") do |config|
Expand Down
4 changes: 4 additions & 0 deletions dev/default.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- name: Install 'default' aka nothing
hosts: all
become: true
tasks: []

0 comments on commit 7572e5d

Please sign in to comment.