|
1 | 1 | --- |
2 | | -- name: Tap into d12frosted/emacs-plus |
3 | | - homebrew_tap: tap=d12frosted/emacs-plus state=present |
4 | | - when: ansible_os_family|lower == 'darwin' |
5 | | - |
6 | | -- name: Tap into homebrew/cask-fonts |
7 | | - homebrew_tap: |
8 | | - name: homebrew/cask-fonts |
9 | | - state: present |
10 | | - when: ansible_os_family|lower == 'darwin' |
11 | | - |
12 | 2 | - name: Install emacs |
13 | | - homebrew: name=emacs-plus state=present |
| 3 | + community.general.homebrew: |
| 4 | + name: railwaycat/emacsmacport/emacs-mac |
| 5 | + state: latest |
| 6 | + install_options: with-modern-icon |
14 | 7 | when: ansible_os_family|lower == 'darwin' |
15 | 8 |
|
16 | | -- name: Setup emacs startup daemon |
17 | | - shell: brew services start d12frosted/emacs-plus/emacs-plus |
| 9 | +- name: Install editor fonts |
| 10 | + community.general.homebrew_cask: |
| 11 | + name: |
| 12 | + - homebrew/cask-fonts/font-fira-mono-nerd-font |
| 13 | + state: latest |
18 | 14 | when: ansible_os_family|lower == 'darwin' |
19 | 15 |
|
20 | | -- name: Install spacemacs |
21 | | - git: |
22 | | - repo: 'https://github.com/syl20bnr/spacemacs' |
23 | | - dest: ~/.emacs.d |
24 | | - version: develop |
25 | | - |
26 | | -- name: Install editor fonts |
27 | | - homebrew_cask: |
28 | | - name: "{{ item }}" |
29 | | - state: present |
30 | | - with_items: |
31 | | - - font-source-code-pro |
32 | | - - font-fira-mono-nerd-font |
| 16 | +- name: Install doom emacs |
| 17 | + ansible.builtin.git: |
| 18 | + repo: "https://github.com/hlissner/doom-emacs" |
| 19 | + dest: "${HOME}/.emacs.d" |
| 20 | + depth: 1 |
33 | 21 |
|
34 | 22 | - name: Install Visual Studio Code |
35 | | - homebrew_cask: name=visual-studio-code state=present |
| 23 | + community.general.homebrew_cask: |
| 24 | + name: visual-studio-code |
| 25 | + state: latest |
0 commit comments