
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
18 lines
466 B
YAML
18 lines
466 B
YAML
---
|
|
- name: Ensure APT is configured
|
|
hosts: seed-hypervisor:seed:overcloud:infra-vms
|
|
max_fail_percentage: >-
|
|
{{ apt_max_fail_percentage |
|
|
default(host_configure_max_fail_percentage) |
|
|
default(kayobe_max_fail_percentage) |
|
|
default(100) }}
|
|
vars:
|
|
ansible_python_interpreter: /usr/bin/python3
|
|
tags:
|
|
- apt
|
|
tasks:
|
|
- name: Include apt role
|
|
include_role:
|
|
name: apt
|
|
when: ansible_facts.os_family == 'Debian'
|