🚨 Modernize ansible-lint silence markup

Fixes the following warning when running `ansible-lint`:

    WARNING  Replaced outdated tag '503' with 'no-handler', replace it to avoid future regressions

Link: https://ansible.readthedocs.io/projects/lint/rules/no-handler/
This commit is contained in:
Alexander Dahl 2025-02-19 21:40:23 +01:00
parent fd01c68746
commit 49dd796a05
4 changed files with 4 additions and 4 deletions
roles/nginx_https_ingress/tasks

View file

@ -33,7 +33,7 @@
src: files/apt-preference-99nginx
dest: /etc/apt/preferences.d/99nginx
- name: Update package cache # noqa 503
- name: Update package cache # noqa: no-handler
ansible.builtin.apt:
update_cache: true
when: apt_repo.changed