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
14 lines
334 B
YAML
14 lines
334 B
YAML
---
|
|
- name: Ensure known hosts are configured
|
|
hosts: all
|
|
gather_facts: no
|
|
max_fail_percentage: >-
|
|
{{ ssh_known_host_max_fail_percentage |
|
|
default(host_configure_max_fail_percentage) |
|
|
default(kayobe_max_fail_percentage) |
|
|
default(100) }}
|
|
tags:
|
|
- ssh-known-host
|
|
roles:
|
|
- role: ssh-known-host
|