Add dwmstatus into dwm role
This commit is contained in:
parent
800c98d516
commit
6eddb84954
33
roles/dwm/tasks/dwmstatus.yml
Normal file
33
roles/dwm/tasks/dwmstatus.yml
Normal 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 }}"
|
@ -4,3 +4,5 @@
|
||||
- import_tasks: dwm.yml
|
||||
|
||||
- import_tasks: st-term.yml
|
||||
|
||||
- import_tasks: dwmstatus.yml
|
||||
|
@ -3,3 +3,5 @@ dwm:
|
||||
repo: https://github.com/pgrondek/dwm.git
|
||||
st:
|
||||
repo: https://github.com/pgrondek/stterm.git
|
||||
dwmstatus:
|
||||
repo: https://git.grondek.pl/pgrondek/dwmstatus.git
|
||||
|
Loading…
Reference in New Issue
Block a user