From aa922ad2f8e2714dc41b1f2593d100602cfee641 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Piliszek?= Date: Sat, 10 Sep 2022 09:08:37 +0000 Subject: [PATCH] [ansible-lint] Unignore jinja[spacing] Fix in one place, ignore in the other. Only 4 warnings now. Change-Id: I3c745914e2ffdcdd7e70d9e06ae1df05dc120f79 --- .ansible-lint | 1 - ansible/roles/ironic-enrolment/tasks/port.yml | 5 +++-- ansible/roles/wait-for-resources/tasks/main.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.ansible-lint b/.ansible-lint index 597864b..1ee15d1 100644 --- a/.ansible-lint +++ b/.ansible-lint @@ -4,4 +4,3 @@ skip_list: warn_list: - no-changed-when - experimental # all rules tagged as experimental - - jinja[spacing] # Jinja2 spacing could be improved diff --git a/ansible/roles/ironic-enrolment/tasks/port.yml b/ansible/roles/ironic-enrolment/tasks/port.yml index e801a01..73de9bb 100644 --- a/ansible/roles/ironic-enrolment/tasks/port.yml +++ b/ansible/roles/ironic-enrolment/tasks/port.yml @@ -15,8 +15,9 @@ - name: Get physical network name set_fact: - physnet: "{{ source_interface | source_link_to_physnet_name( - inventory_hostname=ironic_hypervisor) }}" + physnet: >- + {{ source_interface | + source_link_to_physnet_name(inventory_hostname=ironic_hypervisor) }} - name: Get bridge name set_fact: diff --git a/ansible/roles/wait-for-resources/tasks/main.yml b/ansible/roles/wait-for-resources/tasks/main.yml index 25ea9bf..31fb10b 100644 --- a/ansible/roles/wait-for-resources/tasks/main.yml +++ b/ansible/roles/wait-for-resources/tasks/main.yml @@ -22,7 +22,7 @@ dest: "{{ wait_for_resources_python_requirements_path }}" mode: preserve -- name: Install dependencies in supplied venv +- name: Install dependencies in supplied venv # noqa jinja[spacing] pip: requirements: "{{ wait_for_resources_python_requirements_path }}" extra_args: >-