From 0cecc08886e72e4f7fbcb715ada52833ecc40b9c Mon Sep 17 00:00:00 2001
From: Tim Rupp <caphrim007@gmail.com>
Date: Thu, 31 May 2018 14:40:21 -0700
Subject: [PATCH] Fixes variable usage in bigip device trust (#40975)

Variable used was incorrectly named
---
 lib/ansible/modules/network/f5/bigip_device_trust.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/ansible/modules/network/f5/bigip_device_trust.py b/lib/ansible/modules/network/f5/bigip_device_trust.py
index d87862e29e3..70dede17e57 100644
--- a/lib/ansible/modules/network/f5/bigip_device_trust.py
+++ b/lib/ansible/modules/network/f5/bigip_device_trust.py
@@ -232,7 +232,7 @@ class ModuleManager(object):
         if self.want.password:
             return self.password
         if self.want.provider.get('password', None):
-            return self.provider.get('password')
+            return self.want.provider.get('password')
         if self.module.params.get('password', None):
             return self.module.params.get('password')