summaryrefslogblamecommitdiffstats
path: root/roles/wiki-edit/tasks/main.yaml
blob: f77535f5e7ba14b7e7b2c8349b446a7f767a5f3d (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
   









                                                          
---
- name: Set up Emacs configuration for interactive editing
  template:
    src: emacsconf-edit.el
    dest: "{{ emacs_config_dir }}/emacsconf-edit.el"
- name: Check if Emacs base configuration already exists
  lineinfile:
    dest: "{{ emacs_config_dir }}/init.el"
    state: present
    regexp: "emacsconf-edit"
    line: "(load-file \"emacsconf-edit.el\")"