feature: created another set of cases for non-YAML parsing, tho not yet implemented
This commit is contained in:
@@ -92,6 +92,12 @@ class Config:
|
||||
else:
|
||||
raise ValueError
|
||||
|
||||
if self.parse_method == "INI":
|
||||
raise NotImplementedError
|
||||
elif self.parse_method == "TOML":
|
||||
raise NotImplementedError
|
||||
else:
|
||||
file_model = yams.dump(self.model | ansible_chunk)
|
||||
|
||||
self.file.write(file_model)
|
||||
self.file.close()
|
||||
|
||||
Reference in New Issue
Block a user