- 积分
- 16840
在线时间 小时
最后登录1970-1-1
|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?开始注册
x
172.24.110.164 | FAILED! => {; p- X1 J% j/ a4 J) u# }; O
"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."$ E3 ^3 q' q& k
}3 d) D" P9 u9 Y* S- Y9 Q. L
+ v0 M4 r. a) {5 R+ \% ?
[root@jumpserver3 ~]# vim /etc/ansible/ansible.cfg# Z7 I9 @) M$ R( `
[root@jumpserver3 ~]# mkdir /etc/ansible/
Z( |2 n% N. S( K# n T0 j[root@jumpserver3 ~]# vim /etc/ansible/ansible.cfg5 b; g( |9 ~0 _; A# c6 k/ ~
[defaults]% M7 p* B; F* X% Q: |
host_key_checking=False
% U8 @$ x$ ~7 b5 V0 c4 Wpipelining=True
7 [: v! q5 o9 o& z0 \. N' Yforks=100, C( u+ G* G& A2 F
5 X, d% S3 w- u( Z
( y6 x P4 Q0 X( I1 [1 c, x- V2 Z X/ w9 Y* i1 W* @4 W
[root@jumpserver3 ~]# ansible -i inventory -m ping all
Y& O8 r V+ _% W2 r+ }: O) w/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.% A( y# c4 ]4 p2 F
from cryptography.exceptions import InvalidSignature
& D3 d( A; a0 Q2 @ {172.24.110.164 | SUCCESS => {
: v) f6 G: E- P2 w; T+ j6 {' Q "ansible_facts": {
+ a/ b# E: Q4 G. b% c6 I2 Q" c# Y "discovered_interpreter_python": "/usr/bin/python"
9 g9 [- v# Z, {* D' u( I- P },7 U* I1 X1 \7 q8 D% I$ ~" H" G
"changed": false,
) {. h: {6 i* `. N "ping": "pong"* ~2 W1 R$ j* e/ k i
}' s& ^6 m5 y4 n1 l" K3 W( [7 F
4 Q# \0 |7 ]/ t
|
|