Score:0

Ansible getting error when connecting to remote windows host over ssh

uz flag

I have created a windows 2019 EC2 instance using Ansible. Once ec2 instance is created i have added the instance into hosts and then created a new play for accessing and executing commands on remote windows server.

Getting below error on ansible play book

UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: ssh: Could not resolve hostname 34.219.153.40 : Name or service not known", "unreachable": true}

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.