feat(ansible): add example configurations to the setup (#45)

This commit is contained in:
Stephan Lüscher 2024-05-27 16:41:07 +00:00
parent 327c010ddd
commit e0df50076e
No known key found for this signature in database
GPG key ID: 445779060FF3D3CF
6 changed files with 38 additions and 25 deletions

View file

@ -14,7 +14,9 @@ ANSIBLE_EXTRA_VARS = None
async def load_configuration_file() -> None:
global ANSIBLE_EXTRA_VARS
result = await local_file_picker(
directory="/data", multiple=False, file_name_filter=".yml"
directory="/data",
multiple=False,
# file_name_filter=".yml", # TODO: limit to yml files but make sure folders are visible as well
)
file_path = result[0]
with open(file_path, "r") as file: