mirror of
https://github.com/ublue-os/forge.git
synced 2025-07-04 08:45:45 +03:00
feat(ansible): add example configurations to the setup (#45)
This commit is contained in:
parent
327c010ddd
commit
e0df50076e
6 changed files with 38 additions and 25 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue