--- - hosts: "{{ variable_host | default('lab15_standard') }}" gather_facts: no become: yes tasks: - name: install libqt5serialport5 apt: name: libqt5serialport5 state: present - name: install libqt5serialport5-dev apt: name: libqt5serialport5-dev state: present