38 lines
638 B
YAML
38 lines
638 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
|
|
state: directory
|
|
|
|
- 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 }}"
|