Hi Team,
I am new to ansible 
please help on this

here I am getting error like this : 
178.128.22.23 | UNREACHABLE! => {
    "changed": false,
    "msg": "Failed to connect to the host via ssh.",
    "unreachable": true
}

My steps involved:
my ip: 198.17.22.24
I have generated ssh key in gitbash and then added my key into the another 
system(linux) 
command used in gitbash  $ssh-cppoy-id 178.128.22.23

docker compose file:

version: "3.0"
kind: "compose"

meta:
  name: "Ansible"
  family: "info"
  app: "Ansible"
  version: "1.0"
  org-id: "0.0.0"
  
  services:
   service: bubble:5000/int/info/ansible/service:v1.0
   forecePullimage: true
   command: echo -e '[db]\n178.128.22.23\n > /etc/ansible/hosts ; ansible 
all -m "ping"
   
   ports:
    - mapping: 1166:1166
  name: management
  routing: path
  
   deployment:
     dev:
       service:
         environment:
           DEBUG:true
instances: 1
cpu: 0.5
mem: 256


then execute the command : $infy run update compose.yaml (office personal 
commands)
in kibana logs error:
178.128.22.23 | UNREACHABLE! => {
    "changed": false,
    "msg": "Failed to connect to the host via ssh.",
    "unreachable": true
}

my environments very different :
using : *infy cli *we have to deploy app and run our own commands and check 
the status in https:infy.com.app.ansible(ansible not installed in my 
system,we have to deploy and run in server)
if the app is succesfully installed and run then we have to check the logs 
in kibana.

Thanks in advance

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/b3249287-f1dd-4d44-8340-8dd837cfbb7a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to