2023-03-01 15:30:54 +00:00
|
|
|
- name: Install packages
|
|
|
|
package:
|
|
|
|
name:
|
|
|
|
- aspell-en
|
2023-09-08 15:26:46 +00:00
|
|
|
- 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-03-01 15:30:54 +00:00
|
|
|
state: present
|
2023-07-11 07:43:30 +00:00
|
|
|
|
|
|
|
- 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/
|