ansible-desktop/roles/dwm/tasks/dwmstatus.yml

30 lines
529 B
YAML
Raw Normal View History

2021-11-14 00:27:54 +00:00
---
- name: install required packages for dwmstatus
become: yes
apt:
update_cache: yes
pkg:
- git
- make
- name: checkout dwmstatus
git:
repo: "{{ dwmstatus.repo }}"
dest: "{{ desktop_src_dir }}/dwmstatus"
2021-11-14 00:27:54 +00:00
clone: yes
update: yes
- name: build dwmstatus
make:
chdir: "{{ desktop_src_dir }}/dwmstatus"
2021-11-14 00:27:54 +00:00
- name: install dwmstatus
become: yes
register: make
make:
chdir: "{{ desktop_src_dir }}/dwmstatus"
2021-11-14 00:27:54 +00:00
target: install
- name: debug
debug: msg="{{ make.stdout }}"