I am trying to deploy a website (IIS) behind a load balancer across two VMS using Ansible.
When I use a VMSS I am unable to have my playbook connect to the instances, with the error:
fatal: [testvmss_1_73bd]: UNREACHABLE! => {"changed": false, "msg": "ntlm: HTTPSConnectionPool(host='172.16.1.5', port=5986): Max retries exceeded with url: /wsman (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7f1a2ba93080>, 'Connection to 172.16.1.5 timedout. (connect timeout=30)'))", "unreachable": true}
But this works fine when I use Individual Virtual Machines.
As a workaround, can I put these VMs behind a load balancer without the need for a VMSS?
question from:
https://stackoverflow.com/questions/65859911/can-i-put-individual-vms-behind-a-load-balancer-using-ansible 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…