Compare commits
3 Commits
34ab9a6c4e
...
e7a3e611a0
Author | SHA1 | Date | |
---|---|---|---|
|
e7a3e611a0 | ||
|
012fb2ae36 | ||
|
475d4985fc |
@ -1,5 +1,5 @@
|
||||
---
|
||||
- name: install required packages
|
||||
- name: install required packages for dwm
|
||||
become: yes
|
||||
apt:
|
||||
update_cache: yes
|
||||
@ -14,16 +14,20 @@
|
||||
- libxcb-res0-dev
|
||||
- libx11-xcb-dev
|
||||
|
||||
- name: checkout
|
||||
shell:
|
||||
cmd: |
|
||||
mkdir -p ~/src
|
||||
cd ~/src
|
||||
git clone {{ dwm.repo }}
|
||||
- name: create src dir
|
||||
file:
|
||||
path: ~/src
|
||||
|
||||
- name: checkout dwm
|
||||
git:
|
||||
repo: "{{ dwm.repo }}"
|
||||
dest: "{{ ansible_user_dir }}/src/dwm"
|
||||
clone: yes
|
||||
update: yes
|
||||
|
||||
- name: build dwm
|
||||
make:
|
||||
chdir: ~/src/dwm
|
||||
chdir: "{{ ansible_user_dir }}/src/dwm"
|
||||
|
||||
- name: copy xsession
|
||||
become: yes
|
||||
@ -39,6 +43,10 @@
|
||||
|
||||
- name: install dwm
|
||||
become: yes
|
||||
register: make
|
||||
make:
|
||||
chdir: ~/src/dwm
|
||||
chdir: "{{ ansible_user_dir }}/src/dwm"
|
||||
target: install
|
||||
|
||||
- name: debug
|
||||
debug: msg="{{ make.stdout }}"
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
- name: install required packages
|
||||
- name: install required packages for st
|
||||
become: yes
|
||||
apt:
|
||||
update_cache: yes
|
||||
@ -7,24 +7,27 @@
|
||||
- git
|
||||
- make
|
||||
|
||||
- name: checkout
|
||||
shell:
|
||||
cmd: |
|
||||
mkdir -p ~/src
|
||||
cd ~/src
|
||||
git clone {{ st.repo }}
|
||||
- name: create src dir
|
||||
file:
|
||||
path: ~/src
|
||||
|
||||
- name: checkout st
|
||||
git:
|
||||
repo: "{{ st.repo }}"
|
||||
dest: "{{ ansible_user_dir }}/src/stterm"
|
||||
clone: yes
|
||||
update: yes
|
||||
|
||||
- name: build st
|
||||
make:
|
||||
chdir: ~/src/stterm
|
||||
|
||||
- name: copy icon
|
||||
become: yes
|
||||
copy:
|
||||
src: usr/share/icons/dwm.png
|
||||
dest: /usr/share/icons/dwm.png
|
||||
chdir: "{{ ansible_user_dir }}/src/stterm"
|
||||
|
||||
- name: install st
|
||||
become: yes
|
||||
register: make
|
||||
make:
|
||||
chdir: ~/src/stterm
|
||||
chdir: "{{ ansible_user_dir }}/src/stterm"
|
||||
target: install
|
||||
|
||||
- name: debug
|
||||
debug: msg="{{ make.stdout }}"
|
||||
|
@ -20,6 +20,7 @@
|
||||
- traceroute
|
||||
- command-not-found
|
||||
- dnsutils
|
||||
- hexcurse
|
||||
|
||||
- name: install git
|
||||
become: yes
|
||||
@ -35,4 +36,10 @@
|
||||
pkg:
|
||||
- firefox
|
||||
|
||||
|
||||
- name: install gui apps
|
||||
become: yes
|
||||
apt:
|
||||
update_cashe: yes
|
||||
pkg:
|
||||
- redshift
|
||||
- compton
|
||||
|
Loading…
Reference in New Issue
Block a user