37 lines
650 B
YAML
37 lines
650 B
YAML
|
---
|
||
|
- name: install required packages for dwm
|
||
|
become: yes
|
||
|
apt:
|
||
|
update_cache: yes
|
||
|
pkg:
|
||
|
- rust-all
|
||
|
- cargo
|
||
|
- libacl1-dev
|
||
|
- x11-xserver-utils
|
||
|
- xdg-desktop-portal-gtk
|
||
|
|
||
|
- name: create src dir
|
||
|
file:
|
||
|
path: ~/src
|
||
|
state: directory
|
||
|
|
||
|
- name: checkout ego
|
||
|
git:
|
||
|
repo: "{{ ego.repo }}"
|
||
|
dest: "{{ desktop_src_dir }}/ego"
|
||
|
clone: yes
|
||
|
update: yes
|
||
|
|
||
|
- name: build ego
|
||
|
command: cargo install ego
|
||
|
args:
|
||
|
chdir: "{{ desktop_src_dir }}/ego"
|
||
|
|
||
|
- name: copy ego
|
||
|
become: yes
|
||
|
copy:
|
||
|
remote_src: true
|
||
|
src: "{{ desktop_src_dir }}/.cargo/bin/ego"
|
||
|
dest: /usr/local/bin/ego
|
||
|
mode: '0755'
|