Update truthy values to true/false only, #204 (#387)

Co-authored-by: Techno Tim <timothystewart6@gmail.com>
This commit is contained in:
Balázs Hasprai
2024-01-15 19:43:44 +01:00
committed by GitHub
parent 70e658cf98
commit cddbfc8e40
12 changed files with 21 additions and 21 deletions

View File

@@ -35,7 +35,7 @@
- name: Assert that the nginx welcome page is available
ansible.builtin.uri:
url: http://{{ ip | ansible.utils.ipwrap }}:{{ port_ }}/
return_content: yes
return_content: true
register: result
failed_when: "'Welcome to nginx!' not in result.content"
vars: