Emacs plus
This commit is contained in:
parent
88760b0335
commit
24c016548d
4 changed files with 23 additions and 0 deletions
|
@ -15,6 +15,10 @@
|
||||||
prompt: "Do you want neovim nightly?"
|
prompt: "Do you want neovim nightly?"
|
||||||
private: no
|
private: no
|
||||||
default: "no"
|
default: "no"
|
||||||
|
- name: _emacs_plus
|
||||||
|
prompt: "Don you want emacs-plus?"
|
||||||
|
private: no
|
||||||
|
default: "no"
|
||||||
- name: _hakatime_api_key
|
- name: _hakatime_api_key
|
||||||
prompt: "What's your hakatime api key? (won't show up at the prompt)"
|
prompt: "What's your hakatime api key? (won't show up at the prompt)"
|
||||||
private: yes
|
private: yes
|
||||||
|
@ -30,6 +34,9 @@
|
||||||
- name: Set nightly neovim fact
|
- name: Set nightly neovim fact
|
||||||
set_fact:
|
set_fact:
|
||||||
_nightly_neovim: "{{ _nightly_neovim }}"
|
_nightly_neovim: "{{ _nightly_neovim }}"
|
||||||
|
- name: Set emacs plus fact
|
||||||
|
set_fact:
|
||||||
|
_emacs_plus: "{{ _emacs_plus }}"
|
||||||
- name: Set Hakatime api key fact
|
- name: Set Hakatime api key fact
|
||||||
set_fact:
|
set_fact:
|
||||||
_hakatime_api_key: "{{ _hakatime_api_key }}"
|
_hakatime_api_key: "{{ _hakatime_api_key }}"
|
||||||
|
|
|
@ -28,5 +28,6 @@ fi
|
||||||
|
|
||||||
ANSIBLE_PYTHON_INTERPRETER="$(which python)"
|
ANSIBLE_PYTHON_INTERPRETER="$(which python)"
|
||||||
ansible-galaxy install kewlfft.aur
|
ansible-galaxy install kewlfft.aur
|
||||||
|
ansible-galaxy collection install community.general
|
||||||
ansible-playbook --ask-become-pass -i inventory main.yml
|
ansible-playbook --ask-become-pass -i inventory main.yml
|
||||||
|
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
- dev_machine: "{{ _dev_machine }}"
|
- dev_machine: "{{ _dev_machine }}"
|
||||||
- rust_extras: "{{ _rust_extras }}"
|
- rust_extras: "{{ _rust_extras }}"
|
||||||
- nightly_neovim: "{{ _nightly_neovim }}"
|
- nightly_neovim: "{{ _nightly_neovim }}"
|
||||||
|
- emacs_plus: "{{ _emacs_plus }}"
|
||||||
- hakatime_api_key: "{{ _hakatime_api_key }}"
|
- hakatime_api_key: "{{ _hakatime_api_key }}"
|
||||||
|
|
||||||
- hosts: os_Fedora
|
- hosts: os_Fedora
|
||||||
|
|
14
playbooks/roles/macos/tasks/emacs-plus.uml
Normal file
14
playbooks/roles/macos/tasks/emacs-plus.uml
Normal 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
|
Loading…
Add table
Reference in a new issue