Emacs plus

This commit is contained in:
Anthony Cicchetti 2021-01-15 12:16:53 -05:00
parent 88760b0335
commit 24c016548d
4 changed files with 23 additions and 0 deletions

View file

@ -15,6 +15,10 @@
prompt: "Do you want neovim nightly?"
private: no
default: "no"
- name: _emacs_plus
prompt: "Don you want emacs-plus?"
private: no
default: "no"
- name: _hakatime_api_key
prompt: "What's your hakatime api key? (won't show up at the prompt)"
private: yes
@ -30,6 +34,9 @@
- name: Set nightly neovim fact
set_fact:
_nightly_neovim: "{{ _nightly_neovim }}"
- name: Set emacs plus fact
set_fact:
_emacs_plus: "{{ _emacs_plus }}"
- name: Set Hakatime api key fact
set_fact:
_hakatime_api_key: "{{ _hakatime_api_key }}"

View file

@ -28,5 +28,6 @@ fi
ANSIBLE_PYTHON_INTERPRETER="$(which python)"
ansible-galaxy install kewlfft.aur
ansible-galaxy collection install community.general
ansible-playbook --ask-become-pass -i inventory main.yml

View file

@ -20,6 +20,7 @@
- dev_machine: "{{ _dev_machine }}"
- rust_extras: "{{ _rust_extras }}"
- nightly_neovim: "{{ _nightly_neovim }}"
- emacs_plus: "{{ _emacs_plus }}"
- hakatime_api_key: "{{ _hakatime_api_key }}"
- hosts: os_Fedora

View file

@ -0,0 +1,14 @@
---
- name: Tap d12frosted/emacs-plus
when:
- emacs_plus == true
community.general.homebrew_tap:
name: d12frosted/emacs-plus
- name: Install emacs-plus
when:
- emacs_plus == true
community.general.homebrew:
update_homebrew: yes
name: emacs-plus
install_options: with-modern-sexy-v2-icon