Merge "Ensure service is restarted on unit file changes"
This commit is contained in:
commit
3fac9b1985
@ -27,6 +27,7 @@
|
||||
listen:
|
||||
- "Restart glance services"
|
||||
- "venv changed"
|
||||
- "systemd service changed"
|
||||
|
||||
- name: Start services
|
||||
service:
|
||||
@ -42,3 +43,4 @@
|
||||
listen:
|
||||
- "Restart glance services"
|
||||
- "venv changed"
|
||||
- "systemd service changed"
|
||||
|
@ -152,8 +152,8 @@
|
||||
systemd_TasksAccounting: true
|
||||
systemd_services:
|
||||
- service_name: "{{ service_var.service_name }}"
|
||||
enabled: yes
|
||||
state: started
|
||||
enabled: "{{ service_var.enabled | default(True) }}"
|
||||
state: "{{ service_var.state | default('started') }}"
|
||||
execstarts: "{{ service_var.execstarts }}"
|
||||
execreloads: "{{ service_var.execreloads | default([]) }}"
|
||||
config_overrides: "{{ service_var.init_config_overrides }}"
|
||||
|
Loading…
Reference in New Issue
Block a user