Just for more information, this didn’t error out, it still ran my playbook, just noticed the warning and wasn’t sure if I needed to install something or if I could get rid of the warning in some manner. Thanks!
This helped! I'd been running into the same thing with Ansible in a
virtualenv on EL7. Turns out that there was an ImportError because
cryptography required a newer version of setuptools. Why this wasn't
updated when cryptography was installed, I'm not sure - I'm far from a
pip master
Interesting for me, as I have this in a Dockerfile to install the dependencies, I found that I need to do a pip install cryptography after I installed the source. I previously had the pip install step prior to the source install from git but once I moved that to after I no longer get this error. Thanks!