--- - name: Install the Logitech Media Server ansible.builtin.include_tasks: present.yml when: pi_squeezeserver_state == 'present' - name: Remove the Logitech Media Server ansible.builtin.include_tasks: absent.yml when: pi_squeezeserver_state == 'absent'