mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 19:31:26 -07:00
parent
25e3fe04a8
commit
368f4448dc
4 changed files with 14 additions and 18 deletions
|
@ -100,7 +100,7 @@ class PlaybookCLI(CLI):
|
|||
vault_pass = CLI.read_vault_password_file(self.options.vault_password_file, loader=loader)
|
||||
loader.set_vault_password(vault_pass)
|
||||
elif self.options.ask_vault_pass:
|
||||
vault_pass = self.ask_vault_passwords(ask_vault_pass=True, ask_new_vault_pass=False, confirm_new=False)[0]
|
||||
vault_pass = self.ask_vault_passwords()[0]
|
||||
loader.set_vault_password(vault_pass)
|
||||
|
||||
# initial error check, to make sure all specified playbooks are accessible
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue