diff --git a/manifester/helpers.py b/manifester/helpers.py index 31b5986..49feecd 100644 --- a/manifester/helpers.py +++ b/manifester/helpers.py @@ -154,6 +154,8 @@ def load_inventory_file(file): :return: list of dictionaries """ + if not file.is_file(): + file.touch() if file.suffix not in (".yaml", ".yml"): logger.warn( f"Found invalid inventory file {file}. Inventory file must exist and "