Add dwmstatus into dwm role

This commit is contained in:
Przemek Grondek 2021-11-14 01:27:54 +01:00
parent 800c98d516
commit 6eddb84954
3 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,33 @@
---
- name: install required packages for dwmstatus
become: yes
apt:
update_cache: yes
pkg:
- git
- make
- name: create src dir
file:
path: ~/src
- name: checkout dwmstatus
git:
repo: "{{ dwmstatus.repo }}"
dest: "{{ ansible_user_dir }}/src/dwmstatus"
clone: yes
update: yes
- name: build dwmstatus
make:
chdir: "{{ ansible_user_dir }}/src/dwmstatus"
- name: install dwmstatus
become: yes
register: make
make:
chdir: "{{ ansible_user_dir }}/src/dwmstatus"
target: install
- name: debug
debug: msg="{{ make.stdout }}"

View File

@ -4,3 +4,5 @@
- import_tasks: dwm.yml - import_tasks: dwm.yml
- import_tasks: st-term.yml - import_tasks: st-term.yml
- import_tasks: dwmstatus.yml

View File

@ -3,3 +3,5 @@ dwm:
repo: https://github.com/pgrondek/dwm.git repo: https://github.com/pgrondek/dwm.git
st: st:
repo: https://github.com/pgrondek/stterm.git repo: https://github.com/pgrondek/stterm.git
dwmstatus:
repo: https://git.grondek.pl/pgrondek/dwmstatus.git