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

39 lines
800 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: 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"