Merge "Remove systemd conditionals"
This commit is contained in:
commit
5cc9b4aed0
@ -18,7 +18,7 @@
|
||||
name: "{{ item.service_name }}"
|
||||
enabled: yes
|
||||
state: "stopped"
|
||||
daemon_reload: "{{ (ansible_service_mgr == 'systemd') | ternary('yes', omit) }}"
|
||||
daemon_reload: yes
|
||||
with_items: "{{ filtered_neutron_services }}"
|
||||
register: _stop
|
||||
until: _stop | success
|
||||
@ -79,7 +79,7 @@
|
||||
name: "{{ item.service_name }}"
|
||||
enabled: yes
|
||||
state: "started"
|
||||
daemon_reload: "{{ (ansible_service_mgr == 'systemd') | ternary('yes', omit) }}"
|
||||
daemon_reload: yes
|
||||
with_items: "{{ filtered_neutron_services }}"
|
||||
register: _start
|
||||
until: _start | success
|
||||
|
@ -83,7 +83,7 @@
|
||||
tags:
|
||||
- neutron-config
|
||||
|
||||
- include_tasks: "neutron_init_{{ ansible_service_mgr }}.yml"
|
||||
- include_tasks: neutron_init_systemd.yml
|
||||
tags:
|
||||
- neutron-config
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user