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

43 lines
1019 B
YAML

- 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)'"
- 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"