Fix dwm and st
This commit is contained in:
parent
012fb2ae36
commit
e7a3e611a0
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
- name: install required packages
|
- name: install required packages for dwm
|
||||||
become: yes
|
become: yes
|
||||||
apt:
|
apt:
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
@ -14,16 +14,20 @@
|
|||||||
- libxcb-res0-dev
|
- libxcb-res0-dev
|
||||||
- libx11-xcb-dev
|
- libx11-xcb-dev
|
||||||
|
|
||||||
- name: checkout
|
- name: create src dir
|
||||||
shell:
|
file:
|
||||||
cmd: |
|
path: ~/src
|
||||||
mkdir -p ~/src
|
|
||||||
cd ~/src
|
- name: checkout dwm
|
||||||
git clone {{ dwm.repo }}
|
git:
|
||||||
|
repo: "{{ dwm.repo }}"
|
||||||
|
dest: "{{ ansible_user_dir }}/src/dwm"
|
||||||
|
clone: yes
|
||||||
|
update: yes
|
||||||
|
|
||||||
- name: build dwm
|
- name: build dwm
|
||||||
make:
|
make:
|
||||||
chdir: ~/src/dwm
|
chdir: "{{ ansible_user_dir }}/src/dwm"
|
||||||
|
|
||||||
- name: copy xsession
|
- name: copy xsession
|
||||||
become: yes
|
become: yes
|
||||||
@ -39,6 +43,10 @@
|
|||||||
|
|
||||||
- name: install dwm
|
- name: install dwm
|
||||||
become: yes
|
become: yes
|
||||||
|
register: make
|
||||||
make:
|
make:
|
||||||
chdir: ~/src/dwm
|
chdir: "{{ ansible_user_dir }}/src/dwm"
|
||||||
target: install
|
target: install
|
||||||
|
|
||||||
|
- name: debug
|
||||||
|
debug: msg="{{ make.stdout }}"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
- name: install required packages
|
- name: install required packages for st
|
||||||
become: yes
|
become: yes
|
||||||
apt:
|
apt:
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
@ -7,24 +7,27 @@
|
|||||||
- git
|
- git
|
||||||
- make
|
- make
|
||||||
|
|
||||||
- name: checkout
|
- name: create src dir
|
||||||
shell:
|
file:
|
||||||
cmd: |
|
path: ~/src
|
||||||
mkdir -p ~/src
|
|
||||||
cd ~/src
|
- name: checkout st
|
||||||
git clone {{ st.repo }}
|
git:
|
||||||
|
repo: "{{ st.repo }}"
|
||||||
|
dest: "{{ ansible_user_dir }}/src/stterm"
|
||||||
|
clone: yes
|
||||||
|
update: yes
|
||||||
|
|
||||||
- name: build st
|
- name: build st
|
||||||
make:
|
make:
|
||||||
chdir: ~/src/stterm
|
chdir: "{{ ansible_user_dir }}/src/stterm"
|
||||||
|
|
||||||
- name: copy icon
|
|
||||||
become: yes
|
|
||||||
copy:
|
|
||||||
src: usr/share/icons/dwm.png
|
|
||||||
dest: /usr/share/icons/dwm.png
|
|
||||||
|
|
||||||
- name: install st
|
- name: install st
|
||||||
become: yes
|
become: yes
|
||||||
|
register: make
|
||||||
make:
|
make:
|
||||||
chdir: ~/src/stterm
|
chdir: "{{ ansible_user_dir }}/src/stterm"
|
||||||
target: install
|
target: install
|
||||||
|
|
||||||
|
- name: debug
|
||||||
|
debug: msg="{{ make.stdout }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user