workstation/arch/roles/stumpwm/tasks/main.yml

43 lines
1019 B
YAML
Raw Normal View History

2020-05-27 11:19:38 +00:00
- name: Install Pacman packages
become: yes
pacman:
name:
- sbcl
- ttf-fira-mono
state: present
- name: Stow CL configuration
command:
chdir: "{{ ansible_env.HOME }}/dotfiles"
cmd: "stow common-lisp"
creates: "~/.sbclrc"
- name: Install AUR packages
aur:
name:
- cl-alexandria-git
- clx-git
- cl-ppcre
- slime
- quicklisp
- stumpwm
- name: Downgrade quicklisp to 2019 distribution
command:
cmd: "sbcl --non-interactive --eval '(ql-dist:install-dist \"http://beta.quicklisp.org/dist/quicklisp/2019-12-27/distinfo.txt\" :replace t :prompt nil)'"
2020-05-27 11:19:38 +00:00
- name: Stow StumpWM configuration
command:
chdir: "{{ ansible_env.HOME }}/dotfiles"
cmd: "stow stumpwm"
creates: "~/.stumpwm.d/init.lisp"
- name: Install swank
command:
cmd: "sbcl --non-interactive --eval '(ql:quickload \"swank\")'"
- name: Clone contrib modules
git:
repo: "https://github.com/stumpwm/stumpwm-contrib.git"
dest: "~/.stumpwm.d/contrib"