ansible-desktop/roles/dwm/tasks/st-term.yml
2020-07-01 15:49:46 +02:00

32 lines
464 B
YAML

---
- name: install required packages
become: yes
apt:
update_cache: yes
pkg:
- git
- make
- name: checkout
shell:
cmd: |
mkdir -p ~/src
cd ~/src
git clone {{ st-repo }}
- name: build st
make:
chdir: ~/src/stterm
- name: copy icon
become: yes
copy:
src: usr/share/icons/dwm.png
dest: /usr/share/icons/dwm.png
- name: install st
become: yes
make:
chdir: ~/src/stterm
target: install