Explorar o código

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

Christoph Schug %!s(int64=2) %!d(string=hai) anos
pai
achega
abe4bbcc85
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      ansible/update/upd-apt.yaml

+ 2 - 2
ansible/update/upd-apt.yaml

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