summaryrefslogtreecommitdiffstats
path: root/roles/prerec/tasks/main.yml
diff options
context:
space:
mode:
authorSacha Chua <sacha@sachachua.com>2022-11-23 14:44:11 -0500
committerSacha Chua <sacha@sachachua.com>2022-11-23 14:44:11 -0500
commit1957b894290bcbee8767f6cd11d24927c21cdf9a (patch)
tree0dc0289f5ff2413d01c411d16f9a889cc6e42765 /roles/prerec/tasks/main.yml
parentcbc5ff7fed4db09e2249a8bb9d308132962a55d7 (diff)
downloademacsconf-ansible-1957b894290bcbee8767f6cd11d24927c21cdf9a.tar.xz
emacsconf-ansible-1957b894290bcbee8767f6cd11d24927c21cdf9a.zip
pad stuff
Diffstat (limited to 'roles/prerec/tasks/main.yml')
-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: