title: Dealing with a password with special characters in Ansible
body: <p>I'm trying to run an ansible playbook with the ansible_ssh_pass option to connect to the destination server. </p>
  
  <pre><code>ansible-playbook test-playbook.yml -i hosts -u daniel --extra-vars "{"ansible_ssh_pass":"u5!vuL!&lt;35Lf?&lt;&gt;n'x"}"
  </code></pre>
  
  <p>The problem is that the password has special characters.
  I tried saving it using.</p>
  
  <pre><code>"password\'s"
  "password"
  "\"password\""
  </code></pre>
  
  <p>Any idea how can I save the password?</p>