|
|
[root@jms_server src]# ansible --version
, s. f' P7 u& A, K( t/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./ ^9 G4 m3 }) w i; ]4 l# O4 s# S
from cryptography.exceptions import InvalidSignature0 X" f2 i' Z2 S) r) v
ansible 2.9.2
1 H3 y$ G I' |$ L- @* K" s* n config file = None$ P5 h2 o D3 }) ~9 O5 T6 t, }
configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
5 @/ v' V, r' ]0 K9 T ansible python module location = /usr/local/lib/python3.6/site-packages/ansible- W; W: g2 j- ]( o0 R$ ^7 I# t I) _- L R
executable location = /usr/local/bin/ansible
p& ?& }9 [8 J" U: @ python version = 3.6.8 (default, Nov 16 2020, 16:55:22) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)]
; F* F* i% l% T' `) T$ ^[root@jms_server src]# ansible --versionvim ^C
; Z `2 C& ]1 [' U[root@jms_server src]# vim /usr/local/lib/python3.6/site-packages/ansible/parsing/vault/__init__.py
' Y# e% A! s* \! G t[root@jms_server src]# vim /usr/local/lib/python3.6/site-packages/ansible/parsing/vault/__init__.py
) H% j: d8 w0 U6 a3 N( l[root@jms_server src]# pip install -I exceptions : {5 d* R; h2 f# e& j
ERROR: Could not find a version that satisfies the requirement exceptions (from versions: none)1 E- q: q0 G: \9 f7 o6 c6 v5 S
ERROR: No matching distribution found for exceptions4 w7 ^8 P6 m' e- C4 q! t( A
[root@jms_server src]# pip install exceptions
4 P+ g1 ^1 z0 c' ~. f+ sERROR: Could not find a version that satisfies the requirement exceptions (from versions: none)
) K' L4 p) v) l/ ^4 C/ \6 _% @ERROR: No matching distribution found for exceptions b$ j4 H- e( U+ Q! P2 m) I
[root@jms_server src]# pip install exception
+ D/ y: T4 D' I) h2 i) rCollecting exception$ P. m: M p, R/ l( m, c6 t7 j
Downloading exception-0.1.0-py2.py3-none-any.whl (5.7 kB)- b0 Q# c8 d, i2 I, y, P
Collecting six
) }) p s2 I" C W7 y Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
2 E" S8 ^- D2 CCollecting argparse
+ k; d' N' \7 A& K3 z6 b ?6 C Downloading argparse-1.4.0-py2.py3-none-any.whl (23 kB)* U8 }4 z# |4 o# Q
Installing collected packages: six, argparse, exception
, H2 I4 p I+ H6 USuccessfully installed argparse-1.4.0 exception-0.1.0 six-1.16.0
' _! t5 W, ?4 m2 iWARNING: 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/venv2 K& s9 _) j9 G( ]
[root@jms_server src]# ansible --version
8 C/ ~* W, D1 }) H# b2 c/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.* L$ _( p8 ~" h) [* I7 m
from cryptography.exceptions import InvalidSignature* r- z' f$ I+ M) |+ D2 i
ansible 2.9.2
8 S3 S" L5 O- G+ b5 i# b! G config file = None% n4 R! Q0 U& H8 [0 }4 Z! r# {
configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']5 h4 ~- K, z( X# I
ansible python module location = /usr/local/lib/python3.6/site-packages/ansible8 F, _: w4 [6 v/ R- h2 c9 `
executable location = /usr/local/bin/ansible
* U0 n9 I& k+ J. N: a! s9 U python version = 3.6.8 (default, Nov 16 2020, 16:55:22) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)]7 G% e, ]' w" e$ M0 d- x6 _
/ V& n+ ]& D9 a( @* _* }) K) A4 D) b& d5 w5 E% ]
[root@jms_server src]# pip show cryptography
+ |7 F: x* R5 J0 i6 c1 Q. ^1 a/ NName: cryptography
- v+ n5 C& ^ V3 s2 v, bVersion: 40.0.2+ f9 `" g+ G9 g
Summary: cryptography is a package which provides cryptographic recipes and primitives to Python developers." ?( E. R$ Z, n" I: V
Home-page: https://github.com/pyca/cryptography
8 C- P8 T/ L2 UAuthor: The Python Cryptographic Authority and individual contributors
& n- O8 E& f! O2 i% y PAuthor-email: cryptography-dev@python.org+ W2 l9 M( T5 ^
License: (Apache-2.0 OR BSD-3-Clause) AND PSF-2.0% p$ H# q2 Z4 J* T( `; D5 p
Location: /usr/local/lib64/python3.6/site-packages
! ^/ u2 G( H7 h/ X* @7 J" HRequires: cffi
) D* n6 Q# k4 n% k! d mRequired-by: ansible2 _% X5 ?; [9 Q: Y5 n j# D& C
[root@jms_server_01 src]# pip install -I "cryptography==3.4.8"
9 D* B6 E1 I2 p+ |9 C8 d: G) iCollecting cryptography==3.4.8 O" @+ ~1 j. u+ o' @
Downloading cryptography-3.4.8-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.2 MB)8 k5 x7 v7 _5 k) b5 ~' a2 G
|████████████████████████████████| 3.2 MB 862 kB/s
4 Q/ ?2 E' f/ ^6 F) [4 [/ [: K( nCollecting cffi>=1.12
* C: F! r- l0 g( ^! R: Y3 W$ V! r) ? Using cached cffi-1.15.1-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (402 kB)* T& k$ o5 v5 x& H
Collecting pycparser
% W4 U+ A0 `* y. Y, b& e" e Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)4 M0 W, o, E0 f2 U1 o
Installing collected packages: pycparser, cffi, cryptography4 E) w0 ~$ C$ g$ _) }6 m7 X8 U+ h
Successfully installed cffi-1.15.1 cryptography-40.0.2 pycparser-2.21
/ q# e f6 ~# v+ d3 kWARNING: 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
: \; b( ^$ N7 ?: o[root@jms_server_01 src]# ansible --version+ p& _4 R* S. K+ x* A
ansible 2.9.2
& S4 _' h7 L' H! ~- H! C config file = None
1 r0 h! \3 X# ]2 M& j configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
8 C+ `, D% q0 ~' O ansible python module location = /usr/local/lib/python3.6/site-packages/ansible
^9 r4 C' i, \9 Y3 Z6 i9 ]' S executable location = /usr/local/bin/ansible
* l+ k6 K, [5 K8 c& l( w python version = 3.6.8 (default, Nov 16 2020, 16:55:22) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)]
% S; O2 ^6 H' t& [5 }9 V: x
6 w. J, @, D% f- e( R |
|