---
- hosts: localhost
tasks:
- debug: msg="{{ 'foo\'bar\'baz' }}"
ok: [localhost] => {
"msg": "foo'bar'baz"
}
fatal: [localhost]: FAILED! => {"failed": true, "msg": "template error while templating string: expected token 'end of print statement', got 'bar'"}
- name: Set ELB variables
set_fact:
host: "{{ elb_ins.elb.dns_name }}"
url: 'http//{{ elb_ins.elb.dns_name }}/Server/'