Accessing command line arguments in playbook

Hello! Follow up to this issue:

Basically, I’d like to know what the appropriate syntax is in a playbook to reference a value passed in via the command line. I see that I can pass a password using something like -var pw=password, but don’t understand what the correct syntax is to access that value pw in my playbook.