Use Ansible with PyCharm

Answered

I am so new to this, and I really need some help.

Trying to use Ansible within PyCharm and i can't seem to get the simplest of codes to work,

for example

import ansible

ansible --version returns

All I get back is NameError: name 'version' is not defined

 

If I run this on within the terminal on the same machine I get a response.

If I check the setting within PyCharm 

Project Interpreter = Python 3.6

 

 

 

 

0
3 comments
Avatar
Permanently deleted user

Hi, any ETA for this? Tickets are not assigned to any board and seems like noone is working on them.

0

Sorry, but I don't have information about plans for this integration. I asked developers to share them in YouTrack.

0

Please sign in to leave a comment.