title: how can I run/debug Ansible playbooks inside the IDE (PyCharm)?
body: <p>I can get some visibility into what's happening, under the hood, by running the playbook with the <code>-vvvv</code> argument, e.g. <code>ansible-playbook myplaybook.yaml -vvvv</code>. And I can import individual modules into a Python program, pass arguments to them, and step through in the IDE. That's handy.</p>
  
  <p>What I really want is to open Ansible playbooks with PyCharm and step through with the debugger, line by line, to understand the state of all the variables. Since Ansible is written in Python, I figured there should be a way to run an Ansible playbook inside a Python IDE.</p>
  
  <p>Anyone know how to do this?</p>