diff options
author | Nick White <git@njw.name> | 2019-09-05 22:02:21 +0100 |
---|---|---|
committer | Nick White <git@njw.name> | 2019-09-05 22:02:21 +0100 |
commit | 258df96af944b3665e827144fb577179837e2d86 (patch) | |
tree | 8b9857b9704cb6b1ddacf94852480d0f69a8a51e | |
parent | 7db73424b015ebc38e148cb4cb3c804177a1c77a (diff) |
Ensure bookpipeline is executable
-rw-r--r-- | roles/pipeliner/tasks/pipeline.yml | 5 |
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 |