Implemented vault password

This commit is contained in:
Kevin Veen-Birkenbach 2025-03-19 15:43:04 +01:00
parent 8e0bb19e49
commit 57c3cfc8fa
No known key found for this signature in database
GPG Key ID: 44D8F11FD62F878E

View File

@ -23,6 +23,8 @@ def run_ansible_playbook(inventory:str, playbook:str, modes:[bool], limit:str=No
if password_file:
cmd.extend(["--vault-password-file", password_file])
else:
cmd.extend(["--ask-vault-pass"])
if verbose:
cmd.append("-v")