From 471bbfdac6e8ceaaa4ab7393deb6a545d48dbae5 Mon Sep 17 00:00:00 2001 From: titanz18 Date: Fri, 10 Mar 2023 12:23:21 +0100 Subject: [PATCH] fixed some bugs - implementing 'just roles' and 'just install-all' missing --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index a778f31d..26e7413d 100644 --- a/main.py +++ b/main.py @@ -58,7 +58,7 @@ if key is None and add_key == False: elif key is not None and add_key == False: homeserver_key = key print(key) -file_path == os.path.realpath(__file__) +file_path = os.path.dirname(os.path.realpath(__file__)) yml_path= "{}/inventory/host_vars/matrix.{}".format(file_path, domain) hosts_path = "{}/inventory/".format(file_path) try: