IRC module not working properly with Python3 and SSL enabled #42256
Labels
affects_2.6
This issue/PR affects Ansible v2.6
bug
This issue/PR relates to a bug.
has_pr
This issue has an associated PR.
module
This issue/PR relates to a module.
python3
support:community
This issue/PR relates to code supported by the Ansible community.
traceback
This issue/PR includes a traceback.
SUMMARY
irc module fails
"unable to send to IRC: a bytes-like object is required, not 'str'
ISSUE TYPE
COMPONENT NAME
module IRC
/usr/lib/python3.6/site-packages/ansible/modules/notification/irc.py
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
STEPS TO REPRODUCE
EXPECTED RESULTS
Working module
ACTUAL RESULTS
Works fine with python 2.7.
The text was updated successfully, but these errors were encountered: