mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-06-25 03:38:59 +02:00
Solved variable
This commit is contained in:
parent
9000972de6
commit
97b9e19c5b
@ -44,7 +44,7 @@ class InventoryManager:
|
|||||||
"central_database" in data["features"] and \
|
"central_database" in data["features"] and \
|
||||||
data["features"]["central_database"]:
|
data["features"]["central_database"]:
|
||||||
# Add 'central_database' value (password) to credentials
|
# Add 'central_database' value (password) to credentials
|
||||||
target.setdefault("credentials", {})["central_database"] = self.generate_value("alphanumeric")
|
target.setdefault("credentials", {})["database_password"] = self.generate_value("alphanumeric")
|
||||||
|
|
||||||
# Apply recursion only for the `credentials` section
|
# Apply recursion only for the `credentials` section
|
||||||
self.recurse_credentials(self.schema, target)
|
self.recurse_credentials(self.schema, target)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user