ansible-desktop/roles/dwm/tasks/st-term.yml
2020-07-01 16:45:35 +02:00

31 lines
463 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