Add noqa and disable .ansible-lint global exclusions (#6410)

This commit is contained in:
Maxime Guyot
2020-07-27 15:24:17 +02:00
committed by GitHub
parent b680cdd0e4
commit e70f27dd79
74 changed files with 163 additions and 170 deletions

View File

@@ -45,7 +45,7 @@
tags:
- kube-proxy
- name: Verify if br_netfilter module exists
- name: Verify if br_netfilter module exists # noqa 305
shell: "modinfo br_netfilter"
environment:
PATH: "{{ ansible_env.PATH }}:/sbin" # Make sure we can workaround RH's conservative path management

View File

@@ -1,5 +1,5 @@
---
- name: "Pre-upgrade | check if kubelet container exists"
- name: "Pre-upgrade | check if kubelet container exists" # noqa 306
shell: >-
{% if container_manager in ['crio', 'docker'] %}
docker ps -af name=kubelet | grep kubelet