|
|
[root@jms_server src]# ansible --version
J/ u) ?* P( `- z1 H7 I/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.
# k3 D! w" T- _. V# t3 ~' j0 } from cryptography.exceptions import InvalidSignature' e) M; y: R+ H N( D) |0 o
ansible 2.9.2
3 s. } k' y9 @7 g Q1 W1 `6 \ config file = None9 q- u W4 t4 d9 n/ t
configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']# f2 W# J* ?$ a6 `& c
ansible python module location = /usr/local/lib/python3.6/site-packages/ansible/ L T( l* ]6 z9 P* u
executable location = /usr/local/bin/ansible( H$ Z# ^# i" ]+ V' C J; Y9 U
python version = 3.6.8 (default, Nov 16 2020, 16:55:22) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)]% X) s, I/ n M; R* V
[root@jms_server src]# ansible --versionvim ^C
3 k" \/ \* {7 b& j# N% t- Y[root@jms_server src]# vim /usr/local/lib/python3.6/site-packages/ansible/parsing/vault/__init__.py
% v" R: S( G( D; w E[root@jms_server src]# vim /usr/local/lib/python3.6/site-packages/ansible/parsing/vault/__init__.py( p$ ~$ M* \& }* {5 G) A$ m
[root@jms_server src]# pip install -I exceptions 3 W) q/ L9 f/ M% @& _
ERROR: Could not find a version that satisfies the requirement exceptions (from versions: none)
, P. v! Z% k4 F# n* z2 n% bERROR: No matching distribution found for exceptions4 J4 ~( t( r2 H
[root@jms_server src]# pip install exceptions
& g( V8 A. C) x- f% Y( nERROR: Could not find a version that satisfies the requirement exceptions (from versions: none)
0 E" G& S$ y9 o! o9 T( n, b- IERROR: No matching distribution found for exceptions
3 u3 R) @0 m: y, t. ?! l! j[root@jms_server src]# pip install exception
7 N0 M( Y3 p* L6 v; m8 C* pCollecting exception
) T4 p( e! M. `0 Z Downloading exception-0.1.0-py2.py3-none-any.whl (5.7 kB)
; ]0 j3 N; T$ W9 T. \Collecting six* U: r* A# u' P/ |* Y0 _, d2 A( O
Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
" K0 \0 L7 r5 m, m; g/ PCollecting argparse4 F% i' m9 S; z! e3 s9 ^8 u- b/ s
Downloading argparse-1.4.0-py2.py3-none-any.whl (23 kB)$ Y4 h1 C, P6 Y$ ?, a1 S, G9 C! ^
Installing collected packages: six, argparse, exception
1 v' G1 W6 ^+ c" O Z1 g) `& g! ^Successfully installed argparse-1.4.0 exception-0.1.0 six-1.16.0% ?; u4 z7 @; d; B6 A7 W& r
WARNING: 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 F5 G+ y6 s! X# g[root@jms_server src]# ansible --version
8 E5 D; N2 E# f& v' u/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 e0 o8 ]" e/ X5 t. ?( t0 N from cryptography.exceptions import InvalidSignature
( m$ A- I4 [7 @9 }( _& Sansible 2.9.2
. u8 h! Q8 R: Z, w# \- Q config file = None) {. @4 d; z1 w
configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']3 C W% c7 v& E& a4 E# h
ansible python module location = /usr/local/lib/python3.6/site-packages/ansible2 _# o9 q! S; _: Q* y. q2 A4 ^+ z
executable location = /usr/local/bin/ansible
# w3 I1 l" w: `" J3 ^' M python version = 3.6.8 (default, Nov 16 2020, 16:55:22) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)]
( ^7 q1 M9 D( Q7 K& @
- m0 J" s' F3 B% P- z5 @) f6 @# `: Z0 v( n) n( w8 z2 Y9 p
[root@jms_server src]# pip show cryptography% Y3 R7 q" c8 s, f
Name: cryptography
8 Y9 Y" [% c+ M, W! s& pVersion: 40.0.2
& e6 Z" [) N }$ r5 K1 g8 JSummary: cryptography is a package which provides cryptographic recipes and primitives to Python developers., P4 J# B3 o% B3 D, p( _
Home-page: https://github.com/pyca/cryptography
' B7 K. _0 [2 s! hAuthor: The Python Cryptographic Authority and individual contributors- y3 b! ]8 p& k) p! ]
Author-email: cryptography-dev@python.org
. `7 B. G4 \( ]License: (Apache-2.0 OR BSD-3-Clause) AND PSF-2.0
% k# W; i/ U+ J7 PLocation: /usr/local/lib64/python3.6/site-packages" a0 j; t5 q7 U0 O$ C6 h
Requires: cffi
2 J. M/ P z( n3 a8 jRequired-by: ansible
8 T* b6 G$ X! R! c/ H4 B [/ R9 t[root@jms_server_01 src]# pip install -I "cryptography==3.4.8"
( p' a- D) f( _ q; a5 nCollecting cryptography==3.4.8
! p4 `- N9 V. l: L3 E$ m: D Downloading cryptography-3.4.8-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.2 MB)' I5 |: p; r3 ]1 k& r- ]$ L2 z
|████████████████████████████████| 3.2 MB 862 kB/s
* j. }1 U/ S% D1 M+ `$ }7 MCollecting cffi>=1.12+ h! C6 ?* A) M
Using cached cffi-1.15.1-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (402 kB)
. X& Z/ p! Y' V$ ]" G6 `Collecting pycparser8 C' s$ V5 }! y. |: N/ M1 V: _' x0 G
Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
8 @0 v$ w$ O+ M' b% `9 F8 \- uInstalling collected packages: pycparser, cffi, cryptography9 r$ i$ f' m" c; S
Successfully installed cffi-1.15.1 cryptography-40.0.2 pycparser-2.21 { P3 p: x7 W7 e+ n% d, k' S
WARNING: 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/venv7 x7 w6 v8 e* v A% t
[root@jms_server_01 src]# ansible --version
: z l1 n4 O4 p: }/ Y% Xansible 2.9.2
; Z6 M8 K- u$ l9 N \ config file = None
8 i2 o( a, o+ A* ^ configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']: x& d0 _* R$ m8 A
ansible python module location = /usr/local/lib/python3.6/site-packages/ansible
1 i k# [4 ^% {$ H& j executable location = /usr/local/bin/ansible5 w, C2 e$ n2 Q c+ ?1 D5 G3 r; C# @
python version = 3.6.8 (default, Nov 16 2020, 16:55:22) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)]
" q5 [# V! G' Q2 Q' J5 N0 p* \" r! S2 K; m! Q0 n4 t9 D
|
|