Remove systemd conditionals
Change-Id: I9a81e660d57525be08d9cce44c00fa22c0a53226
This commit is contained in:
parent
ca76d4b910
commit
e115fe9d6a
@ -18,7 +18,7 @@
|
|||||||
name: "{{ item.program_name }}"
|
name: "{{ item.program_name }}"
|
||||||
enabled: yes
|
enabled: yes
|
||||||
state: "restarted"
|
state: "restarted"
|
||||||
daemon_reload: "{{ (ansible_service_mgr == 'systemd') | ternary('yes', omit) }}"
|
daemon_reload: yes
|
||||||
with_items: "{{ filtered_swift_services }}"
|
with_items: "{{ filtered_swift_services }}"
|
||||||
|
|
||||||
- name: Restart rsyslog
|
- name: Restart rsyslog
|
||||||
|
@ -72,7 +72,7 @@
|
|||||||
tags:
|
tags:
|
||||||
- swift-config
|
- swift-config
|
||||||
|
|
||||||
- include_tasks: "swift_init_{{ ansible_service_mgr }}.yml"
|
- include_tasks: swift_init_systemd.yml
|
||||||
tags:
|
tags:
|
||||||
- swift-config
|
- swift-config
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user