From 258df96af944b3665e827144fb577179837e2d86 Mon Sep 17 00:00:00 2001 From: Nick White Date: Thu, 5 Sep 2019 22:02:21 +0100 Subject: Ensure bookpipeline is executable --- roles/pipeliner/tasks/pipeline.yml | 5 +++-- 1 file 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 -- cgit v1.2.1-24-ge1ad