From 775befeb94f669b64f6aba50ecc2d8d90ddbfaa1 Mon Sep 17 00:00:00 2001 From: ivareri Date: Thu, 24 Oct 2024 21:10:12 +0200 Subject: [PATCH] Replace | bool with "is truthy" --- tasks/setup_netbox.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/setup_netbox.yml b/tasks/setup_netbox.yml index d650acf..ad5b595 100644 --- a/tasks/setup_netbox.yml +++ b/tasks/setup_netbox.yml @@ -61,7 +61,7 @@ group: "{{ netbox_group }}" mode: "644" register: local_requirements_file - when: netbox_local_requirements | bool + when: netbox_local_requirements is truthy - name: Install local requirements ansible.builtin.pip: