Problem scenario
When you run an Ansible playbook on the control node that is not running on a Mac (e.g., you are running Ansible on RedHat, Ubuntu or SUSE), you get this error: “Failed to connect to the host via ssh: percent_expand: unknown key %C\r\n”, “unreachable”: true”. How do you debug your playbook to get it to run?
Root cause
The problem may not be in the playbook.
…