mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-11 10:32:27 +08:00
fix 1900 failures of the following case issue: `name[casing]: All names should start with an uppercase letter.` Signed-off-by: Ryan Lerch <rlerch@redhat.com>
24 lines
505 B
YAML
24 lines
505 B
YAML
---
|
|
|
|
# check functionality
|
|
|
|
- meta: flush_handlers
|
|
|
|
- name: Set settings_url fact
|
|
set_fact:
|
|
settings_url: "https://{{ hostname }}/settings"
|
|
|
|
- name: Fetch settings
|
|
uri:
|
|
url: "{{ settings_url }}"
|
|
return_content: yes
|
|
validate_certs: no
|
|
register: uri_res
|
|
check_mode: no
|
|
delegate_to: localhost
|
|
|
|
- name: Fail if /settings does not contain supported_releases
|
|
fail: msg="{{ settings_url }} doesn't contain supported_releases"
|
|
when:
|
|
"'supported_releases' not in uri_res.content"
|