Combine plainmacs and emacs roles.

This commit is contained in:
Tom Alexander
2023-07-11 00:54:51 -04:00
parent cb84d7d810
commit c1e3b8fc4e
18 changed files with 81 additions and 75 deletions

View File

@@ -1,7 +1,30 @@
- name: Build aur packages
register: buildaur
become_user: "{{ build_user.name }}"
command: "aurutils-sync --no-view {{ item }}"
args:
creates: "/var/cache/pacman/custom/{{ item }}-*.pkg.tar.*"
loop:
- emacs29-git
- name: Update cache
when: buildaur.changed
pacman:
name: []
state: present
update_cache: true
- name: Install packages
package:
name:
- aspell-en
- emacs29-git
state: present
- name: Install packages
when: 'emacs_flavor == "full"'
package:
name:
- prettier # typescript+yaml formatting
- pyright
- gopls