Ansible [WARNING]: Skipping plugin 問題

系統:CentOS Linux release 7.6.1810 (Core)
Python:Python 2.7.5
Ansible:ansible 2.9.7
在執行playbook的時候總是有下面這樣的WARNING

[root@master tasks]# ansible-playbook test.yaml         
[WARNING]: Skipping plugin (/usr/lib/python2.7/site-packages/ansible/plugins/connection/httpapi.py) as it seems to be invalid: from_buffer() cannot return the address of the raw string within a str or
unicode or bytearray object
[WARNING]: Skipping plugin (/usr/lib/python2.7/site-packages/ansible/plugins/connection/vmware_tools.py) as it seems to be invalid: from_buffer() cannot return the address of the raw string within a str or
unicode or bytearray object
[WARNING]: Skipping plugin (/usr/lib/python2.7/site-packages/ansible/plugins/callback/foreman.py) as it seems to be invalid: from_buffer() cannot return the address of the raw string within a str or unicode
or bytearray object
[WARNING]: Skipping plugin (/usr/lib/python2.7/site-packages/ansible/plugins/callback/grafana_annotations.py) as it seems to be invalid: from_buffer() cannot return the address of the raw string within a
str or unicode or bytearray object
[WARNING]: Skipping plugin (/usr/lib/python2.7/site-packages/ansible/plugins/callback/hipchat.py) as it seems to be invalid: from_buffer() cannot return the address of the raw string within a str or unicode
or bytearray object
[WARNING]: Skipping plugin (/usr/lib/python2.7/site-packages/ansible/plugins/callback/nrdp.py) as it seems to be invalid: from_buffer() cannot return the address of the raw string within a str or unicode or
bytearray object
[WARNING]: Skipping plugin (/usr/lib/python2.7/site-packages/ansible/plugins/callback/slack.py) as it seems to be invalid: from_buffer() cannot return the address of the raw string within a str or unicode
or bytearray object
[WARNING]: Skipping plugin (/usr/lib/python2.7/site-packages/ansible/plugins/callback/splunk.py) as it seems to be invalid: from_buffer() cannot return the address of the raw string within a str or unicode
or bytearray object
[WARNING]: Skipping plugin (/usr/lib/python2.7/site-packages/ansible/plugins/callback/sumologic.py) as it seems to be invalid: from_buffer() cannot return the address of the raw string within a str or
unicode or bytearray object

解決方法:pip install cryptography -U
升級後cryptography版本:cryptography (2.9.2)

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章