--- - name: append configuration to wsconsctl ansible.builtin.lineinfile: path: "{{ wscons_configuration_file }}" regexp: "^{{ item[0] }}" line: "{{ item[0] }}={{ item[1] }}" create: true owner: 0 group: 0 mode: 0644 loop: - [screen.brightness, 80] - [keyboard.repeat.del1, 180] - [keyboard.repeat.deln, 50] - [keyboard.bell.volume, 0] - [mouse.tp.tapping, 1]