- 积分
- 16841
在线时间 小时
最后登录1970-1-1
|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?开始注册
x
[root@jms_server src]# ansible --version
5 Z8 _+ q: c3 N/ c0 k/usr/local/lib/python3.6/site-packages/ansible/parsing/vault/__init__.py:41: 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.
3 H7 ^( Q+ A' l' y from cryptography.exceptions import InvalidSignature
: B7 u- b8 x1 ^) m4 ?( Qansible 2.9.2
, s' ?# _% h8 ?3 k! \& Z1 r" d- B config file = None# r( J3 q& }) f/ Y% h9 {+ r. z
configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
. u$ P" S& E% ^ ansible python module location = /usr/local/lib/python3.6/site-packages/ansible/ a0 O9 `& p# ]) N, {: {7 j
executable location = /usr/local/bin/ansible! h0 M& x, S+ y" Q- P. O7 A) H& s% O
python version = 3.6.8 (default, Nov 16 2020, 16:55:22) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)]6 A4 T7 J9 F; ^0 z
[root@jms_server src]# ansible --versionvim ^C* [# G2 } M* J4 _- b
[root@jms_server src]# vim /usr/local/lib/python3.6/site-packages/ansible/parsing/vault/__init__.py
4 F9 Y( F# Y* y[root@jms_server src]# vim /usr/local/lib/python3.6/site-packages/ansible/parsing/vault/__init__.py$ p8 S: I) u0 `. |* @
[root@jms_server src]# pip install -I exceptions : X& N1 k) Z' s4 A/ u+ s
ERROR: Could not find a version that satisfies the requirement exceptions (from versions: none)
) X3 K8 |" \! h7 u' JERROR: No matching distribution found for exceptions
: q/ L) }. _4 f" P1 b0 h" e[root@jms_server src]# pip install exceptions 3 t5 N9 C. K4 w" L# E+ o
ERROR: Could not find a version that satisfies the requirement exceptions (from versions: none)
9 d `' u) k% eERROR: No matching distribution found for exceptions6 Q4 s/ R' T. V* M$ W7 ]! W2 ~5 J
[root@jms_server src]# pip install exception
- L9 x; }( V9 A8 l: u$ jCollecting exception% b+ ]4 X/ F6 e9 r, |: }+ `
Downloading exception-0.1.0-py2.py3-none-any.whl (5.7 kB)
/ y$ m9 Q' r+ n6 k# d0 R. DCollecting six
3 X8 }- I4 } U) D# D+ _# T Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)# ?, `( }! V5 }7 Y+ a
Collecting argparse
5 M/ i, g! \+ ~# ]+ |6 l Downloading argparse-1.4.0-py2.py3-none-any.whl (23 kB)
9 a/ P' U. T4 A6 Y8 _( _' yInstalling collected packages: six, argparse, exception) b$ {+ ? `# n; m/ K- v
Successfully installed argparse-1.4.0 exception-0.1.0 six-1.16.0
" b) B" p. V# y. HWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
2 w2 @) v7 P$ P8 J[root@jms_server src]# ansible --version5 c* S. M8 o$ s @8 F1 r: D1 w3 m
/usr/local/lib/python3.6/site-packages/ansible/parsing/vault/__init__.py:41: 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.( M/ G" }) `, P% B, ^; ], c5 f( u
from cryptography.exceptions import InvalidSignature6 Y7 M- d! _# P$ B# ]; I& H
ansible 2.9.2
5 e1 E/ m" n j) E config file = None/ X" S. R* o- Z! o# V* b3 C
configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
* g9 C8 G7 I6 J% F5 s$ b ansible python module location = /usr/local/lib/python3.6/site-packages/ansible
. L* q% L0 l: L, b- E- p: R8 j executable location = /usr/local/bin/ansible9 Z' N) o& k: p# ]" N( q
python version = 3.6.8 (default, Nov 16 2020, 16:55:22) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)]
' V0 B4 k; [6 R2 N% \0 v: M. s9 j5 P, {8 w. O, ^ S; A( D
! `% K1 o: F: t4 h, J9 i5 D' X# o) q[root@jms_server src]# pip show cryptography
& K2 T% I( Y4 ~Name: cryptography* K4 b3 Z8 d8 h& f& W! H6 C: f( o" g
Version: 40.0.28 h. T; q0 O8 R) Q" [# H. z
Summary: cryptography is a package which provides cryptographic recipes and primitives to Python developers.. M" v+ m8 l3 ]
Home-page: https://github.com/pyca/cryptography
* U- u' s- [1 e2 B$ R4 X9 ]- xAuthor: The Python Cryptographic Authority and individual contributors
8 K7 M; Z, V* |0 g: D4 s0 m% q; g; |Author-email: cryptography-dev@python.org0 c$ e; i# f+ _9 ?' }& Y/ K
License: (Apache-2.0 OR BSD-3-Clause) AND PSF-2.0
8 |; i. d0 U! b8 r. F. U3 D& ULocation: /usr/local/lib64/python3.6/site-packages
" |) r p2 {$ KRequires: cffi0 j- H$ `! V0 d
Required-by: ansible& l$ z$ e# P6 x# |( Y
[root@jms_server_01 src]# pip install -I "cryptography==3.4.8"
% o- x# G, a, O3 v, D; h4 ACollecting cryptography==3.4.8
8 G% K4 C$ [6 j1 c1 @' H+ Q! r Downloading cryptography-3.4.8-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.2 MB)
& G @' A4 I6 c. A, L1 ]* s |████████████████████████████████| 3.2 MB 862 kB/s 1 a& [0 |, }$ Q6 P, ]
Collecting cffi>=1.129 e Y5 r% @1 f- \/ _" e- N
Using cached cffi-1.15.1-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (402 kB)4 V# `- ?& Z |9 A/ {
Collecting pycparser5 v( x- w/ P& _5 c1 }; Q! F) P% n& V
Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB); r) k" Z: C" J: ^( \8 _
Installing collected packages: pycparser, cffi, cryptography2 v7 }& n! |- P! B! i/ [6 i) c, V
Successfully installed cffi-1.15.1 cryptography-40.0.2 pycparser-2.21
5 |' O' _% h) m: d3 e% RWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
9 e/ V/ S2 t- o- ?+ E" _[root@jms_server_01 src]# ansible --version4 q0 e( Y8 I9 H8 ~2 B
ansible 2.9.2
# X6 t, ]- S. }2 Q& s config file = None. Z: v/ N2 l; _, W
configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
9 p1 P2 o6 q+ ~2 M6 g. R ansible python module location = /usr/local/lib/python3.6/site-packages/ansible
% V* j' O& _# B4 y$ V executable location = /usr/local/bin/ansible
7 _2 A9 U- \# {# C2 l) d( s* ] python version = 3.6.8 (default, Nov 16 2020, 16:55:22) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)]
, q W* r4 x2 p3 Z7 B H1 `1 j
8 z; e5 k" x' {4 u; n( C. q0 m |
|