mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2024-11-22 00:03:16 +01:00
fix: add exception to ignore Ansible Lint rule package-latest
This commit is contained in:
parent
d06aab167e
commit
abe4bbcc85
@ -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*
|
||||||
|
Loading…
Reference in New Issue
Block a user