|
|
172.24.110.164 | FAILED! => {
8 X4 \9 `1 m1 i$ P "msg": "Using a SSH password instead of a key is not possible because Host Key checking is enabled and sshpass does not support this. Please add this host's fingerprint to your known_hosts file to manage this host."0 x- v3 Q c3 x& `- X$ o* E! v/ U
}
+ K7 c3 o6 M/ D+ e5 p- S
2 U/ L% ]( \, I: u4 N8 J3 S[root@jumpserver3 ~]# vim /etc/ansible/ansible.cfg3 k" A, E* D8 D6 H
[root@jumpserver3 ~]# mkdir /etc/ansible/
* q2 R |: X+ L( d[root@jumpserver3 ~]# vim /etc/ansible/ansible.cfg
5 t! [, z7 S# { \& H& o8 g4 E* n[defaults]2 {; m, c& B+ i1 M; ~
host_key_checking=False
+ T6 L+ \0 h" X/ h1 opipelining=True
- h8 d( x; L4 Q0 cforks=100
3 L2 V. G0 e9 P& H: q W' \. X" R8 @6 @! u o3 x' E" F3 K, W
: E+ k3 T, \, v I# x4 Z
7 A2 q4 T, z+ K1 ~5 p9 f3 ?. U[root@jumpserver3 ~]# ansible -i inventory -m ping all8 o0 g; |+ \0 T
/usr/local/lib/python3.6/site-packages/ansible/parsing/vault/__init__.py:44: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography. The next release of cryptography will remove support for Python 3.6.0 Z6 b2 l+ I- [9 L+ G; I& p
from cryptography.exceptions import InvalidSignature
5 T/ m w: ~9 e. {) U1 ~172.24.110.164 | SUCCESS => {
- |0 ?! B3 q( t! p' x "ansible_facts": {
+ ~$ r/ J0 t$ ?, r: C8 { "discovered_interpreter_python": "/usr/bin/python"
, T \5 Q! {# q },
' c" Z2 G8 h! x7 T/ N' \ "changed": false,
: ?% M: q) F1 z3 F4 w/ b "ping": "pong"9 f: U- k7 e$ [4 f8 _6 M& I3 O
}
; z9 |3 Z. }3 H: u3 I6 B: O8 p4 `0 H+ B5 C$ y8 ^
|
|