
Copy ansible-lint configuration from kolla-ansible as a starting point. Also replace alint tox job by ansible-lint. Fix various issues found by ansible-lint to make it pass with the current set of rules. Change-Id: I1d6173caadbcf249330512e170af8095464f1237
17 lines
450 B
YAML
17 lines
450 B
YAML
---
|
|
- name: Ensure software RAID configuration is applied
|
|
hosts: seed-hypervisor:seed:overcloud:infra-vms
|
|
max_fail_percentage: >-
|
|
{{ mdadm_max_fail_percentage |
|
|
default(host_configure_max_fail_percentage) |
|
|
default(kayobe_max_fail_percentage) |
|
|
default(100) }}
|
|
tags:
|
|
- mdadm
|
|
roles:
|
|
- role: mrlesmithjr.mdadm
|
|
become: True
|
|
when:
|
|
- mdadm_arrays is defined
|
|
- mdadm_arrays | length > 0
|