M #-: Allow creating provision without datastore (#593)

This commit is contained in:
Jan Orel authored and Tino Vazquez committed 2021-01-07 17:57:51 +01:00
1 parent ec8a060be4
commit 7ffbeba265
1 file changed
+2 -1
+2 -1
View File
@@ -290,7 +290,8 @@ module OneProvision
ds.info(d['id'])
next unless ds.one['TYPE'] == '1' # only system ds
group_vars['sys_ds_ids'] << d['id']
end
end unless datastores.nil?
c = YAML.dump(group_vars)
fname = "#{ansible_dir}/group_vars.yml"
Driver.write_file_log(fname, c)