Explorar el Código

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

Christoph Schug hace 2 años
padre
commit
abe4bbcc85
Se han modificado 1 ficheros con 2 adiciones y 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*