1
0
mirror of https://github.com/oVirt/ovirt-ansible-engine-setup.git synced 2026-02-05 15:45:08 +01:00

make tox happy and skip_linters where needed

This commit is contained in:
Tareq Alayan
2018-04-10 19:20:58 +03:00
committed by Ondra Machacek
parent b606659177
commit 9ab22141e3
3 changed files with 12 additions and 0 deletions

6
.ansible-lint Normal file
View File

@@ -0,0 +1,6 @@
exclude_paths:
- /home/travis/build/oVirt/ovirt-ansible-engine-setup/tests/roles/
parseable: true
quiet: true
use_default_rules: true
verbosity: 1

View File

@@ -27,12 +27,16 @@
# WA for https://github.com/ansible/ansible/issues/34867
command: yum -y update ovirt\*setup\*
when: ovirt_engine_setup_update_setup_packages
tags:
- "skip_ansible_lint" # ANSIBLE0006
- name: Update all packages
package:
name: "*"
state: latest
when: ovirt_engine_setup_update_all_packages
tags:
- "skip_ansible_lint" # ANSIBLE0010
- name: Set accept defaults parameter if variable is set
set_fact:

View File

@@ -13,3 +13,5 @@
yum:
name: python-libs
state: latest
tags:
- skip_ansible_lint # ANSIBLE0010