Remove systemd conditionals
All operating systems supported by the role have systemd. Change-Id: Ic74f1de9fb65b0b6231e0d94431a71aaa28aa67a
This commit is contained in:
parent
dd1f6278de
commit
4953e45683
@ -18,7 +18,7 @@
|
|||||||
name: "{{ item.service_name }}"
|
name: "{{ item.service_name }}"
|
||||||
enabled: yes
|
enabled: yes
|
||||||
state: "stopped"
|
state: "stopped"
|
||||||
daemon_reload: "{{ (ansible_service_mgr == 'systemd') | ternary('yes', omit) }}"
|
daemon_reload: yes
|
||||||
with_items: "{{ filtered_neutron_services }}"
|
with_items: "{{ filtered_neutron_services }}"
|
||||||
register: _stop
|
register: _stop
|
||||||
until: _stop | success
|
until: _stop | success
|
||||||
@ -79,7 +79,7 @@
|
|||||||
name: "{{ item.service_name }}"
|
name: "{{ item.service_name }}"
|
||||||
enabled: yes
|
enabled: yes
|
||||||
state: "started"
|
state: "started"
|
||||||
daemon_reload: "{{ (ansible_service_mgr == 'systemd') | ternary('yes', omit) }}"
|
daemon_reload: yes
|
||||||
with_items: "{{ filtered_neutron_services }}"
|
with_items: "{{ filtered_neutron_services }}"
|
||||||
register: _start
|
register: _start
|
||||||
until: _start | success
|
until: _start | success
|
||||||
|
@ -83,7 +83,7 @@
|
|||||||
tags:
|
tags:
|
||||||
- neutron-config
|
- neutron-config
|
||||||
|
|
||||||
- include_tasks: "neutron_init_{{ ansible_service_mgr }}.yml"
|
- include_tasks: neutron_init_systemd.yml
|
||||||
tags:
|
tags:
|
||||||
- neutron-config
|
- neutron-config
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user