fix: suppress false positive ansible lint warning 503

This commit is contained in:
David Kilias 2022-10-24 18:21:44 +02:00
parent 18e317a534
commit 69cf188426
3 changed files with 3 additions and 3 deletions

View file

@ -138,7 +138,7 @@
force: no
register: wiringPi_download
- name: Install wiringPi library
- name: Install wiringPi library # noqa 503
ansible.builtin.apt:
state: present
deb: "/home/{{ gatekeeper_user }}/wiringpi-latest.deb"

View file

@ -34,7 +34,7 @@
dest: /etc/apt/sources.list.d/docker.list
register: apt_repo
- name: Update package cache
- name: Update package cache # noqa 503
ansible.builtin.apt:
update_cache: true
when: apt_repo.changed

View file

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