Use state
This commit is contained in:
parent
8dd399f483
commit
6c65555360
|
@ -24,6 +24,7 @@
|
||||||
ansible.builtin.pip:
|
ansible.builtin.pip:
|
||||||
requirements: /home/{{ ansible_user }}/pi-fan-controller/requirements.txt
|
requirements: /home/{{ ansible_user }}/pi-fan-controller/requirements.txt
|
||||||
executable: pip3
|
executable: pip3
|
||||||
|
state: present
|
||||||
listen: pi-fan-controller
|
listen: pi-fan-controller
|
||||||
|
|
||||||
- name: Install pi-fan-controller
|
- name: Install pi-fan-controller
|
||||||
|
|
Reference in a new issue