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

31 lines
463 B
YAML
Raw Normal View History

2020-07-01 13:49:46 +00:00
---
- name: install required packages
become: yes
apt:
update_cache: yes
pkg:
- git
- make
- name: checkout
shell:
cmd: |
mkdir -p ~/src
cd ~/src
2020-07-01 14:42:35 +00:00
git clone {{ st.repo }}
2020-07-01 13:49:46 +00:00
- 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