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

30 lines
529 B
YAML

---
- 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"
clone: yes
update: yes
- name: build dwmstatus
make:
chdir: "{{ desktop_src_dir }}/dwmstatus"
- name: install dwmstatus
become: yes
register: make
make:
chdir: "{{ desktop_src_dir }}/dwmstatus"
target: install
- name: debug
debug: msg="{{ make.stdout }}"