ansible-desktop/roles/dwm/tasks/st-term.yml
Przemek Grondek 16ffbf069f Fix st emoji
2022-07-25 21:42:16 +02:00

37 lines
617 B
YAML

---
- name: install required packages for st
become: yes
apt:
update_cache: yes
pkg:
- git
- make
- fonts-firacode
- fonts-symbola
- libharfbuzz-dev
- name: create src dir
file:
path: ~/src
- name: checkout st
git:
repo: "{{ st.repo }}"
dest: "{{ ansible_user_dir }}/src/stterm"
clone: yes
update: yes
- name: build st
make:
chdir: "{{ ansible_user_dir }}/src/stterm"
- name: install st
become: yes
register: make
make:
chdir: "{{ ansible_user_dir }}/src/stterm"
target: install
- name: debug
debug: msg="{{ make.stdout }}"