--- - name: install required packages for st [Ubuntu] become: yes apt: update_cache: yes pkg: - fonts-firacode - fonts-symbola - libharfbuzz-dev when: ansible_distribution == "Ubuntu" - name: install required packages for st [Arch] become: yes community.general.pacman: name: - ttf-fira-code - harfbuzz when: ansible_distribution == "Archlinux" - name: install required packages for st [AUR] shell: cmd: yay -S --needed --noconfirm ttf-symbola when: ansible_distribution == "Archlinux" - name: checkout st git: repo: "{{ git.st }}" dest: "{{ desktop_src_dir }}/stterm" clone: yes update: yes - name: build st make: chdir: "{{ desktop_src_dir }}/stterm" - name: install st become: yes register: make make: chdir: "{{ desktop_src_dir }}/stterm" target: install - name: debug debug: msg="{{ make.stdout }}"