Update 'handlers/main.yml'
continuous-integration/drone/push Build is passing Details

This commit is contained in:
jens 2021-08-26 16:28:11 +00:00
parent 9ee2f16184
commit 1f4d5dd26e
1 changed files with 9 additions and 0 deletions

View File

@ -21,3 +21,12 @@
systemd:
daemon_reload: true
when: ansible_service_mgr == "systemd"
- name: "Build drone"
command: 'go build'
become: true
become_user : "{{ drone_user }}"
notify: "Restart drone"
args:
chdir: "{{ drone_home }}/drone/cmd/drone-server"