Remove no longer necessary check (since elements is procesed for path). (#59953)
This commit is contained in:
parent
309a58eafd
commit
49e16922b2
2 changed files with 2 additions and 3 deletions
|
@ -310,12 +310,12 @@ def main():
|
|||
# Load intermediate certificates
|
||||
intermediates = CertificateSet(module)
|
||||
for path in module.params['intermediate_certificates']:
|
||||
intermediates.load(os.path.expanduser(os.path.expandvars(path)))
|
||||
intermediates.load(path)
|
||||
|
||||
# Load root certificates
|
||||
roots = CertificateSet(module)
|
||||
for path in module.params['root_certificates']:
|
||||
roots.load(os.path.expanduser(os.path.expandvars(path)))
|
||||
roots.load(path)
|
||||
|
||||
# Try to complete chain
|
||||
current = chain[-1]
|
||||
|
|
|
@ -2193,7 +2193,6 @@ lib/ansible/modules/commands/command.py validate-modules:E322
|
|||
lib/ansible/modules/commands/command.py validate-modules:E323
|
||||
lib/ansible/modules/commands/command.py validate-modules:E338
|
||||
lib/ansible/modules/commands/expect.py validate-modules:E338
|
||||
lib/ansible/modules/crypto/certificate_complete_chain.py use-argspec-type-path # would need something like type=list(path)
|
||||
lib/ansible/modules/database/influxdb/influxdb_database.py validate-modules:E324
|
||||
lib/ansible/modules/database/influxdb/influxdb_database.py validate-modules:E337
|
||||
lib/ansible/modules/database/influxdb/influxdb_query.py validate-modules:E324
|
||||
|
|
Loading…
Reference in a new issue