Fix `failed_when` string in the second `ansible.builtin.uri` example (#84382)

Open the double quotes at the beginning of the entire `failed_when` value.

Individual conditions work well, yet fail each time they are combined with a logic `or` (as per the example).

Double quoting the entire string solved the problem.
pull/82263/head
Fil 1 year ago committed by GitHub
parent e2b454f4e3
commit eed6d48046
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -262,7 +262,7 @@ EXAMPLES = r"""
url: http://www.example.com
return_content: true
register: this
failed_when: this is failed or "'AWESOME' not in this.content"
failed_when: "this is failed or 'AWESOME' not in this.content"
- name: Create a JIRA issue
ansible.builtin.uri:

Loading…
Cancel
Save