set host_key_checking = False in awx

783 views
Skip to first unread message

cava cavamagie

unread,
Aug 29, 2018, 6:27:16 AM8/29/18
to AWX Project
hi
i have problem with host key
ho i can set 

host_key_checking = False
without modify the docker machine task?

Christopher Meyers

unread,
Aug 29, 2018, 8:41:42 AM8/29/18
to cava...@gmail.com, AWX Project
AWX sets this to false by default via an environment variable. Environment variables overwrite any settings loaded from the config file (i.e. ansible.cfg). 

--
You received this message because you are subscribed to the Google Groups "AWX Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to awx-project...@googlegroups.com.
To post to this group, send email to awx-p...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/awx-project/c9691082-94d8-4891-bbec-09eae8033f36%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--

CHRIS MEYERS

SENIOR SOFTWARE ENGINEER, TOWERREWARD ZONE AMBASSADOR

Red Hat 

cme...@redhat.com   


cavamagie

unread,
Aug 29, 2018, 11:41:10 AM8/29/18
to cme...@redhat.com, awx-p...@googlegroups.com
yes thank you i have made a mistake !

fatal: [ansiblelab02xxxxxxx]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\\r\\n@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @\\r\\n@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\\r\\nIT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!\\r\\nSomeone could be eavesdropping on you right now (man-in-the-middle attack)!\\r\\nIt is also possible that a host key has just been changed.\\r\\nThe fingerprint for the RSA key sent by the remote host is\\nSHA256:a+cHs7PtOmZF/V1Df88GxDskjP1WiPSIDpKUR6dN1m0.\\r\\nPlease contact your system administrator.\\r\\nAdd correct host key in /root/.ssh/known_hosts to get rid of this message.\\r\\nOffending ECDSA key in /root/.ssh/known_hosts:5\\r\\nChallenge/response authentication is disabled to avoid man-in-the-middle attacks.\\r\\nPermission denied (publickey,password).\\r\\n", "unreachable": true}

Reply all
Reply to author
Forward
0 new messages