use vars.yml file

This commit is contained in:
Paul Spooren 2018-03-14 19:23:07 +01:00
parent ae9ce4d4b3
commit 144b7f3efb

View file

@ -33,7 +33,7 @@ impl RawHost {
.unwrap_or_else(|err| panic!("{} in file {}", err, hostname))
} else if path.is_dir() {
let mut buf = path.to_path_buf();
buf.push("vars");
buf.push("vars.yml");
File::open(buf)
.unwrap_or_else(|err| panic!("{} in file {}", err, hostname))
} else {