Skip to content

Commit 4107898

Browse files
committed
ansible.py: Correct ansible passwd key name
Signed-off-by: Dinesh Dutt <[email protected]>
1 parent 2a42003 commit 4107898

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

suzieq/poller/controller/source/ansible.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,9 @@ def _get_inventory(self) -> Dict:
108108
if 'ansible_password' in entry:
109109
password = entry['ansible_password']
110110

111+
if 'ansible_ssh_pass' in entry:
112+
password = entry['ansible_ssh_pass']
113+
111114
devtype = None
112115
if entry.get('ansible_network_os') in ['panos']:
113116
devtype = 'panos'

0 commit comments

Comments
 (0)