From 6c65555360fb7c0858b9cf1fddbbbee7e92925a8 Mon Sep 17 00:00:00 2001 From: Sam Al-Sapti Date: Mon, 17 Apr 2023 16:06:52 +0200 Subject: [PATCH] Use state --- roles/os_config/handlers/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/os_config/handlers/main.yml b/roles/os_config/handlers/main.yml index a673434..29ed091 100644 --- a/roles/os_config/handlers/main.yml +++ b/roles/os_config/handlers/main.yml @@ -24,6 +24,7 @@ ansible.builtin.pip: requirements: /home/{{ ansible_user }}/pi-fan-controller/requirements.txt executable: pip3 + state: present listen: pi-fan-controller - name: Install pi-fan-controller