ansible-desktop/roles/dwm/tasks/st-term.yml

33 lines
554 B
YAML

---
- name: install required packages for st
become: yes
apt:
update_cache: yes
pkg:
- git
- make
- fonts-firacode
- fonts-symbola
- libharfbuzz-dev
- name: checkout st
git:
repo: "{{ st.repo }}"
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 }}"