Update 'handlers/main.yml'
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
a27248c77d
commit
69e9bd330a
|
@ -26,20 +26,14 @@
|
|||
- name: "Install drone runner exec"
|
||||
command: "drone-runner-exec service install"
|
||||
when: ansible_service_mgr == "systemd"
|
||||
notify:
|
||||
- "Reload systemd"
|
||||
|
||||
- name: "Reload systemd"
|
||||
systemd:
|
||||
daemon_reload: true
|
||||
when: ansible_service_mgr == "systemd"
|
||||
|
||||
- name: "Start drone runner exec"
|
||||
command: "drone-runner-exec service start"
|
||||
when: ansible_service_mgr == "systemd"
|
||||
|
||||
- name: "Restart drone"
|
||||
service:
|
||||
name: "drone"
|
||||
state: "restarted"
|
||||
when: ansible_service_mgr == "systemd"
|
||||
- name: Restart service drone on centos, in all cases, also issue daemon-reload to pick up config changes
|
||||
ansible.builtin.systemd:
|
||||
state: restarted
|
||||
daemon_reload: yes
|
||||
name: drone
|
||||
|
||||
|
|
Loading…
Reference in New Issue