有没有办法使用Ansible和密码列表?

时间:2019-10-28 10:39:47

标签: ssh ansible

我使用Ansible与密码不相同(我有此列表)的100-200电脑进行交互。

我希望拥有:

password_list='["1234","5678"]'

Ansible-> try to connect to IP_Adresse1 with password 1

if fail:

   Ansible-> try to connect to IP_Adresse1 with password 2

if not fail:

   Do some stuff to the connected host...

我想知道是否有可能?

0 个答案:

没有答案