summaryrefslogtreecommitdiff
path: root/roles/pipeliner
diff options
context:
space:
mode:
Diffstat (limited to 'roles/pipeliner')
-rw-r--r--roles/pipeliner/tasks/pipeline.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/roles/pipeliner/tasks/pipeline.yml b/roles/pipeliner/tasks/pipeline.yml
index e39bbcc..293e581 100644
--- a/roles/pipeliner/tasks/pipeline.yml
+++ b/roles/pipeliner/tasks/pipeline.yml
@@ -34,14 +34,15 @@
GOPATH: /home/{{ ansible_user }}/src/go
become: no
when: gorepo.changed
- register: gobuilt
- name: Install bookpipeline binary
copy:
remote_src: true
src: /home/{{ ansible_user }}/src/go/bin/bookpipeline
dest: /usr/local/bin/
- when: gobuilt
+
+- name: Make bookpipeline executable
+ file: path=/usr/local/bin/bookpipeline mode=0755
- name: Install systemd unit file
copy: src=bookpipeline.service dest=/etc/systemd/system