fix: add exception to ignore Ansible Lint rule package-latest

This commit is contained in:
Christoph Schug 2024-03-03 17:36:01 +01:00
parent d06aab167e
commit abe4bbcc85

View File

@ -12,7 +12,7 @@
when: ansible_pkg_mgr == 'yum' when: ansible_pkg_mgr == 'yum'
ansible.builtin.yum: ansible.builtin.yum:
name: '*' name: '*'
state: latest state: latest # noqa: package-latest
- name: Upgrade packages with apt - name: Upgrade packages with apt
when: ansible_pkg_mgr == 'apt' when: ansible_pkg_mgr == 'apt'
@ -23,5 +23,5 @@
when: ansible_pkg_mgr == 'yum' when: ansible_pkg_mgr == 'yum'
ansible.builtin.yum: ansible.builtin.yum:
name: '*' name: '*'
state: latest state: latest # noqa: package-latest
exclude: kernel* exclude: kernel*