From 137a39a7bd8cd94d1825ef73f42b76f978477bb8 Mon Sep 17 00:00:00 2001 From: Scott Fryer Date: Thu, 19 Sep 2024 10:34:28 +0100 Subject: [PATCH] Linter Fix --- .../AdoptOpenJDK_Unix_Playbook/roles/nasm/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/playbooks/AdoptOpenJDK_Unix_Playbook/roles/nasm/tasks/main.yml b/ansible/playbooks/AdoptOpenJDK_Unix_Playbook/roles/nasm/tasks/main.yml index efe59182d5..1a725ba2e8 100644 --- a/ansible/playbooks/AdoptOpenJDK_Unix_Playbook/roles/nasm/tasks/main.yml +++ b/ansible/playbooks/AdoptOpenJDK_Unix_Playbook/roles/nasm/tasks/main.yml @@ -77,7 +77,7 @@ - name: Download nasm sources shell: cd /tmp && wget https://www.nasm.us/pub/nasm/releasebuilds/{{ nasm_version }}/nasm-{{ nasm_version }}.tar.gz when: - - (nasm_installed.rc is defined) and ((nasm_installed.rc != 0 ) or (nasm_installed.rc == 0 and nasm.stdout is version_compare('{{ nasm_version }}', operator='ne')) ) + - (nasm_installed.rc is defined) and ((nasm_installed.rc != 0 ) or (nasm_installed.rc == 0 and nasm.stdout is version_compare(nasm_version, operator='ne')) ) tags: nasm - name: Extract nasm sources