我使用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...
我想知道是否有可能?