summaryrefslogtreecommitdiffstats
path: root/roles/edit/tasks
diff options
context:
space:
mode:
authorSacha Chua <sacha@sachachua.com>2022-10-31 21:53:15 -0400
committerSacha Chua <sacha@sachachua.com>2022-10-31 21:53:15 -0400
commit4696aa1fed214fe1084d7c3deecaaa289bc0a1fd (patch)
treefa0d7d2d121cfe2787b1f1a94b2328aeff73c724 /roles/edit/tasks
parentb8c97d14ed81871eef51ba7253982c45258ec538 (diff)
downloademacsconf-ansible-4696aa1fed214fe1084d7c3deecaaa289bc0a1fd.tar.xz
emacsconf-ansible-4696aa1fed214fe1084d7c3deecaaa289bc0a1fd.zip
Update OBS, renamepublish and edit
Diffstat (limited to 'roles/edit/tasks')
-rw-r--r--roles/edit/tasks/main.yaml11
1 files changed, 11 insertions, 0 deletions
diff --git a/roles/edit/tasks/main.yaml b/roles/edit/tasks/main.yaml
new file mode 100644
index 0000000..f77535f
--- /dev/null
+++ b/roles/edit/tasks/main.yaml
@@ -0,0 +1,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\")"