I have a playbook that calls get_url to download a file BUT the URL contains a backslash
http://cijboss:8080/jenkins/job/prod/186/org.myorg\$ear/artifact/org.org/ear/3.0.0-SNAPSHOT/ear-3.0.0-SNAPSHOT.ear"
I have tried double quotes, single quotes, \ escape sequences, etc. Have tried the many things found in Jinja2 and YAML escaping documents and nothing works. When I feed the URL through an ad hoc command, it downloads the file just fine.
ansible -m get_url -u user -a “http://cijboss:8080/jenkins/job/prod/186/org.myorg\$ear/artifact/org.org/ear/3.0.0-SNAPSHOT/ear-3.0.0-SNAPSHOT.ear” dest=/home/user"
Each time the playbook runs, the url contains a double backslash. How does one properly escape this?
Update: Below is the yml playbook file.