This change replaces all of the roles references in our various files with the new role name. This is being done because Ansible no longer allows hyphens in role names. TODO: (gchamoul) Remove healthcheck-service-status once this patch is merged. Tripleo Jobs are RED due to THT trying to execute this validation as inflight one but it has been renamed healthcheck_service_status. Co-Authored-by: Gael Chamoulaud <gchamoul@redhat.com> Change-Id: I19bb587ece403f86ddd0bbe174c282326500cfd3
11 lines
285 B
YAML
11 lines
285 B
YAML
---
|
|
- name: List the available drives
|
|
register: drive_list
|
|
command: "ls /sys/class/block/"
|
|
changed_when: false
|
|
|
|
- name: Detect whether the drive uses Advanced Format
|
|
advanced_format: drive={{ item }}
|
|
when: item is match("^sd.$")
|
|
with_items: "{{ drive_list.stdout_lines }}"
|