summaryrefslogtreecommitdiff
path: root/roles/contexts/fretlink/tasks
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@fretlink.com>2018-11-21 19:11:56 +0100
committerIsmaël Bouya <ismael.bouya@fretlink.com>2018-11-21 19:11:56 +0100
commit9f528ac4c4ad219ce91f43d14a97401348f315f3 (patch)
treef071736bbb84e4e2419fd348cf31804e3bf13b99 /roles/contexts/fretlink/tasks
parente7e024a932fe531d0b0b8eea2c048b0de06b43f0 (diff)
downloadAnsible-9f528ac4c4ad219ce91f43d14a97401348f315f3.tar.gz
Ansible-9f528ac4c4ad219ce91f43d14a97401348f315f3.tar.zst
Ansible-9f528ac4c4ad219ce91f43d14a97401348f315f3.zip
Move bash functions to separate scripts
Diffstat (limited to 'roles/contexts/fretlink/tasks')
-rw-r--r--roles/contexts/fretlink/tasks/main.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/roles/contexts/fretlink/tasks/main.yml b/roles/contexts/fretlink/tasks/main.yml
index 4106bf1..ce69e02 100644
--- a/roles/contexts/fretlink/tasks/main.yml
+++ b/roles/contexts/fretlink/tasks/main.yml
@@ -90,3 +90,24 @@
90 scope: user 90 scope: user
91 name: remind@work.service 91 name: remind@work.service
92 enabled: true 92 enabled: true
93- name: scripts
94 block:
95 - name: completion directory
96 file:
97 state: directory
98 path: $XDG_DATA_HOME/bash_completion
99 - name: scripts
100 copy:
101 mode: 0755
102 src: "scripts/{{ item }}"
103 dest: "$HOME/.local/bin/{{ item }}"
104 loop:
105 - fl_tmux_dev
106 - fl_vpn
107 - fl_getDump
108 - name: completion scripts
109 copy:
110 src: "scripts/_{{ item }}"
111 dest: "$XDG_DATA_HOME/bash_completion/_{{ item }}"
112 loop:
113 - fl_tmux_dev