summaryrefslogtreecommitdiffstats
path: root/roles/prerec/tasks
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--roles/prerec/tasks/main.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/roles/prerec/tasks/main.yml b/roles/prerec/tasks/main.yml
index 15adde2..954c5a7 100644
--- a/roles/prerec/tasks/main.yml
+++ b/roles/prerec/tasks/main.yml
@@ -4,6 +4,19 @@
state: directory
owner: "{{ emacsconf_user }}"
group: "{{ emacsconf_group }}"
+- name: Create the symlink
+ file:
+ src: "{{ emacsconf_caption_dir }}/scripts"
+ dest: "/home/{{ emacsconf_user }}/scripts"
+ owner: "{{ emacsconf_user }}"
+ group: "{{ emacsconf_group }}"
+ state: link
+- name: Add it to the path
+ lineinfile:
+ line: export PATH=~/scripts:$PATH
+ path: /home/{{ emacsconf_user }}/.bashrc
+ owner: "{{ emacsconf_user }}"
+ group: "{{ emacsconf_group }}"
- name: Recreate encoding script only if it's not there
tags: process-prerec
template: