Remove limitation on number of files for encrypt subcommand in ansible-vault
parent
f50a943064
commit
5795796546
|
@ -160,9 +160,6 @@ def execute_edit(args, options, parser):
|
||||||
|
|
||||||
def execute_encrypt(args, options, parser):
|
def execute_encrypt(args, options, parser):
|
||||||
|
|
||||||
if len(args) > 1:
|
|
||||||
raise errors.AnsibleError("'create' does not accept more than one filename")
|
|
||||||
|
|
||||||
if not options.password_file:
|
if not options.password_file:
|
||||||
password, new_password = utils.ask_vault_passwords(ask_vault_pass=True, confirm_vault=True)
|
password, new_password = utils.ask_vault_passwords(ask_vault_pass=True, confirm_vault=True)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue