machine_setup/ansible/roles/emacs/tasks/linux.yaml

33 lines
658 B
YAML
Raw Normal View History

2023-07-11 04:54:51 +00:00
- 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
2023-03-01 15:30:54 +00:00
- name: Install packages
package:
name:
- aspell-en
2023-07-11 04:54:51 +00:00
- emacs29-git
state: present
- name: Install packages
when: 'emacs_flavor == "full"'
package:
name:
2023-05-27 16:15:05 +00:00
- prettier # typescript+yaml formatting
2023-05-27 17:41:08 +00:00
- pyright
2023-05-27 19:19:08 +00:00
- gopls
2023-05-27 23:25:30 +00:00
- typescript-language-server
2023-03-01 15:30:54 +00:00
state: present