Propogate cert validation to inventory updates for vmware

This commit is contained in:
Matthew Jones 2017-09-18 12:21:06 -04:00
parent 2fe5c2ac83
commit 84f9c49b6f
No known key found for this signature in database
GPG Key ID: 76A4C17A97590C1C

View File

@ -1719,7 +1719,7 @@ class RunInventoryUpdate(BaseTask):
section = 'vmware'
cp.add_section(section)
cp.set('vmware', 'cache_max_age', 0)
cp.set('vmware', 'validate_certs', str(settings.VMWARE_VALIDATE_CERTS))
cp.set('vmware', 'username', credential.username)
cp.set('vmware', 'password', decrypt_field(credential, 'password'))
cp.set('vmware', 'server', credential.host)