mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-07-07 19:18:54 +00:00
Addresses #6579 Disallow vault passwords with newline characters by stripping them in utils
This commit is contained in:
parent
5f428041db
commit
8c2e1e2baa
2 changed files with 5 additions and 0 deletions
|
|
@ -105,6 +105,7 @@ def _read_password(filename):
|
|||
f = open(filename, "rb")
|
||||
data = f.read()
|
||||
f.close
|
||||
data = data.strip()
|
||||
return data
|
||||
|
||||
def execute_create(args, options, parser):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue