diff --git a/tasks/main.yml b/tasks/main.yml index 4e6f16a..b6e7419 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -12,7 +12,7 @@ state: present - name: set theshold - command: tlp setcharge {{ item.start_threshold }} {{ item.stop_threshold }} {{ item.name }} + ansible.builtin.command: tlp setcharge {{ item.start_threshold }} {{ item.stop_threshold }} {{ item.name }} loop: "{{ tlp_batteries }}" loop_control: label: "{{ item.name }}"