mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Addresses #6579 Disallow vault passwords with newline characters by stripping them in utils
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user