ansible-test: Do not use automatic field numbering specification

Automatic field numbering specification is not allowed by ansible-test.
This commit is contained in:
Thomas Woerner
2023-05-04 17:17:26 +02:00
parent 98681bd4d2
commit a4b8e10a40
11 changed files with 22 additions and 20 deletions

View File

@@ -40,7 +40,7 @@ def pytest_configure(config):
if os.path.exists(config_dir):
inventory_path = os.path.join(config_dir, "test.inventory.yml")
inventory = get_inventory(inventory_path)
print("Configuring execution using {}".format(inventory_path))
print("Configuring execution using {0}".format(inventory_path))
ipaservers = inventory["all"]["children"]["ipaserver"]["hosts"]
ipaserver = list(ipaservers.values())[0]
private_key = os.path.join(config_dir, "id_rsa")