mirror of https://github.com/ceph/ceph-ansible.git
tests: revert vagrant_variable file name detection
This commit reverts the following change:pull/4776/headfcf181342a (diff-23b6f443c01ea2efcb4f36eedfea9089R7-R14)
this is causing CI failures so this commit is intended to unlock the CI. Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com> (cherry picked from commit5353ab8a23
)
parent
4edef59feb
commit
1d055c0c0f
|
@ -4,13 +4,7 @@
|
|||
require 'yaml'
|
||||
VAGRANTFILE_API_VERSION = '2'
|
||||
|
||||
if File.file?('vagrant_variables.yml') then
|
||||
vagrant_variable_filename='vagrant_variables.yml'
|
||||
else
|
||||
vagrant_variable_filename='vagrant_variables.yml.sample'
|
||||
end
|
||||
|
||||
config_file=File.expand_path(File.join(File.dirname(__FILE__), vagrant_variable_filename))
|
||||
config_file=File.expand_path(File.join(File.dirname(__FILE__), 'vagrant_variables.yml'))
|
||||
|
||||
settings=YAML.load_file(config_file)
|
||||
|
||||
|
|
Loading…
Reference in New Issue