From 69cf188426b86ec144ace90198584a85dceaefcc Mon Sep 17 00:00:00 2001 From: David Kilias Date: Mon, 24 Oct 2022 18:21:44 +0200 Subject: [PATCH] fix: suppress false positive ansible lint warning 503 --- platon.yml | 2 +- roles/docker_setup/tasks/main.yml | 2 +- roles/nginx-https-ingress/tasks/main.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/platon.yml b/platon.yml index 469c28d..1c5ccf3 100644 --- a/platon.yml +++ b/platon.yml @@ -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" diff --git a/roles/docker_setup/tasks/main.yml b/roles/docker_setup/tasks/main.yml index 43c8614..98cfde5 100644 --- a/roles/docker_setup/tasks/main.yml +++ b/roles/docker_setup/tasks/main.yml @@ -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 diff --git a/roles/nginx-https-ingress/tasks/main.yml b/roles/nginx-https-ingress/tasks/main.yml index ff095d1..64884a5 100644 --- a/roles/nginx-https-ingress/tasks/main.yml +++ b/roles/nginx-https-ingress/tasks/main.yml @@ -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