mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-17 02:13:06 -06:00
DCD-352: Explicitly start/enable service rather than relying on handlers.
This commit is contained in:
@@ -4,6 +4,10 @@
|
||||
template:
|
||||
src: "product.service.j2"
|
||||
dest: "/etc/systemd/system/{{ atl_systemd_service_name }}"
|
||||
notify:
|
||||
- Enable Product
|
||||
- Restart Product
|
||||
|
||||
- name: Enable and start Product
|
||||
service:
|
||||
name: "{{ atl_systemd_service_name }}"
|
||||
state: started
|
||||
enabled: true
|
||||
when: atl_startup_enable
|
||||
|
||||
Reference in New Issue
Block a user