# Not connected application server..

**URL:** <https://forum.ansible.com/t/not-connected-application-server/33869>\
**Category:** Ansible Project\
**Created:** [September 22, 2020, 9:59pm UTC](https://forum.ansible.com/t/not-connected-application-server/33869 "2020-09-22T21:59:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Amit\_Joshi](https://avatars.discourse-cdn.com/v4/letter/a/e68b1a/32.png) [@Amit\_Joshi](https://forum.ansible.com/u/Amit_Joshi)\
**Post date:** [September 22, 2020, 9:59pm UTC](https://forum.ansible.com/t/not-connected-application-server/33869/1 "2020-09-22T21:59:41Z")

</div>

I am working for our application for bounce (start/stop) but i am not connected with application host.

I tried ping command, which you sent and it works…

[webadmin@vlodjumpts00 ~]$ ping 8.8.8.8

PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.

64 bytes from 8.8.8.8: icmp\_seq=1 ttl=112 time=10.6 ms

[webadmin@vlodjumpts00 ~]$ [mirrorlist.centos.org](http://mirrorlist.centos.org)

-bash: [mirrorlist.centos.org](http://mirrorlist.centos.org): command not found

I want to use this for our organization… if i ran “ansible all -m ping” command. facing error, below is details:

[aa63457@vlodjumpts00 bin]$ ansible all -m ping

[DEPRECATION WARNING]: The TRANSFORM\_INVALID\_GROUP\_CHARS settings is set to allow bad characters in group names by default, this will

change, but still be user configurable on deprecation. This feature will be removed in version 2.10. Deprecation warnings can be

disabled by setting deprecation\_warnings=False in ansible.cfg.

[WARNING]: Invalid characters were found in group names but not replaced, use -vvvv to see details

RTE3EPAdmin | UNREACHABLE! =\> {

“changed”: false, “msg”: “Failed to connect to the host via ssh: ###############################################################################\n# CenturyLink computers and the CenturyLink computer network are CenturyLink #\n# property. Only authorized persons may use them and only for legal and proper#\n# purposes as determined solely by CenturyLink. You consent to the monitoring #\n# of their use. You must use CenturyLink computers and the network in #\n# accordance with the CenturyLink Code of Conduct, subject to discipline for #\n# misuse. Customer use is governed by the CenturyLink Acceptable Use Policy. #\n###############################################################################\nUse CTL credentials (login/password) on this server.\nAUTH-NOTICE:\nAUTH-NOTICE: Use your cuid as your username\nAUTH-NOTICE:\nPermission denied (publickey,password).”, “unreachable”: true

}

localhost | SUCCESS =\> {

“ansible\_facts”: { “discovered\_interpreter\_python”: “/usr/bin/python” }, “changed”: false, “ping”: “pong”

}

Please help me… what i need to do this. Actually, we don’t have UN/PWD for hosts file for connecting host machine…

localhost ansible\_connection=local

[RTE3VFO]

RTE3VFOAdmin ansible\_host=vlddwblasts001.test.intranet

RTE3VFOManaged ansible\_host=vlddwblasts002.test.intranet

[RTE3EP]

RTE3EPAdmin ansible\_host=vlddwblasts002.test.intranet

RTE3EPManaged ansible\_host=vlddwblasts003.test.intranet

[RTE3RES]

RTE3RESAdmin ansible\_host=vlddwblasts003.test.intranet

RTE3RESAManaged ansible\_host=vlddwblasts004.test.intranet

[RTE3ORCH]

RTE3ORCHAdmin ansible\_host=vlddwblasts004.test.intranet

RTE3ORCHManaged ansible\_host=vlddwblasts005.test.intranet

[RTE3EASE]

RTE3EASEAdmin ansible\_host=vlddwblasts005.test.intranet

RTE3EASEManaged ansible\_host=vlddwblasts006.test.intranet

[RTE3RTS]

RTE3RTSAdmin ansibke\_host=vlddwblasts006.test.intranet

[EASE-ASR-Test2:children]

RTE3VFO

RTE3EP

RTE3RES

RTE3ORCH

RTE3EASE

RTE3RTS

and the directory structure is:

[webadmin@vlodjumpts00 ansible]$ pwd

/etc/ansible

[webadmin@vlodjumpts00 ansible]$ ll

total 84

-rw------- 1 webadmin webadmin 607 Jul 12 2017 1

-rw-r–r-- 1 webadmin webadmin 17910 Sep 19 09:55 ansible.cfg

-rw-r–r-- 1 root root 19985 Dec 8 2019 ansible.cfg.rpmnew

-rw------- 1 webadmin webadmin 213 Jul 3 2017 easeasr-rte2-ease.yml

-rwxr-xr-x 1 webadmin webadmin 1034 Sep 19 09:16 ease-hosts

-rwxr-xr-x 1 webadmin webadmin 1647 Sep 19 10:50 hosts

-rw------- 1 webadmin webadmin 2679 Jul 3 2017 hosts.bkp

-rw------- 1 webadmin webadmin 273 Jul 6 2017 lineinsfile\_tst.yml

drwx------ 4 webadmin webadmin 4096 Nov 2 2017 playbooks

drwxr-xr-x 3 root root 19 Dec 8 2019 roles

-rwxr-xr-x 1 webadmin webadmin 7321 Nov 2 2017 servmix\_hosts

-rw------- 1 webadmin webadmin 208 Sep 19 10:55 test.yml

-rw------- 1 webadmin webadmin 122 Sep 19 10:54 vars.yaml

We are not connected directly to host… fist login our jump server and than ssh host…

jump server is “vmdcltctws217” port using =22, connection type=ssh

and then enter with our UN/PWD

after that we did sudo for connection to host server…

sudo su - easesqa

and then ssh host server like…

vlddwblasts001.test.intranet

then we run start/stop command from here…

please help

---

<div class="post-metadata">

**Author:** ![Dick\_Visser](https://avatars.discourse-cdn.com/v4/letter/d/d9b06d/32.png) [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Post date:** [September 23, 2020, 6:47am UTC](https://forum.ansible.com/t/not-connected-application-server/33869/2 "2020-09-23T06:47:07Z")

</div>

I think your question is: how do I use a jumphost to manage systems that are not directly reachable.

That topic (among others) is covered here at the faq page:  
[https://docs.ansible.com/ansible/latest/reference\_appendices/faq.html](https://docs.ansible.com/ansible/latest/reference_appendices/faq.html)

Also read  
[https://docs.ansible.com/ansible/latest/user\_guide/connection\_details.html](https://docs.ansible.com/ansible/latest/user_guide/connection_details.html)
