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

37 lines
617 B
YAML
Raw Normal View History

2020-07-01 13:49:46 +00:00
---
2020-07-02 10:04:22 +00:00
- name: install required packages for st
2020-07-01 13:49:46 +00:00
become: yes
apt:
update_cache: yes
pkg:
- git
- make
2022-05-16 21:26:34 +00:00
- fonts-firacode
2022-07-25 19:42:16 +00:00
- fonts-symbola
2022-05-16 21:26:34 +00:00
- libharfbuzz-dev
2020-07-01 13:49:46 +00:00
2020-07-02 10:04:22 +00:00
- name: create src dir
file:
path: ~/src
- name: checkout st
git:
repo: "{{ st.repo }}"
dest: "{{ ansible_user_dir }}/src/stterm"
clone: yes
update: yes
2020-07-01 13:49:46 +00:00
- name: build st
make:
2020-07-02 10:04:22 +00:00
chdir: "{{ ansible_user_dir }}/src/stterm"
2020-07-01 13:49:46 +00:00
- name: install st
become: yes
2020-07-02 10:04:22 +00:00
register: make
2020-07-01 13:49:46 +00:00
make:
2020-07-02 10:04:22 +00:00
chdir: "{{ ansible_user_dir }}/src/stterm"
2020-07-01 13:49:46 +00:00
target: install
2020-07-02 10:04:22 +00:00
- name: debug
debug: msg="{{ make.stdout }}"