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

42 lines
956 B
YAML
Raw Normal View History

2023-03-01 15:30:54 +00:00
- name: Install packages
package:
name:
- aspell-en
- emacs-wayland
2023-07-11 04:54:51 +00:00
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-09-14 18:25:42 +00:00
- shellcheck
2023-12-23 02:45:38 +00:00
- vscode-css-languageserver
2023-03-01 15:30:54 +00:00
state: present
- name: Create directories
file:
name: "{{ item }}"
state: directory
mode: 0755
owner: root
group: root # Using root group to match /usr/share/applications
loop:
- /usr/local/share/applications
- name: Install Configuration
copy:
src: "files/{{ item.src }}"
dest: "{{ item.dest }}"
mode: 0644
owner: root
group: wheel
# Can't use validate because it complains about the file extension for the temporary file.
# validate: "desktop-file-validate %s"
loop:
- src: plainmacs.desktop
dest: /usr/local/share/applications/