From e115fe9d6a730c5b5cac1f21438ff35c822c6af3 Mon Sep 17 00:00:00 2001 From: Major Hayden Date: Thu, 15 Feb 2018 08:44:52 -0600 Subject: [PATCH] Remove systemd conditionals Change-Id: I9a81e660d57525be08d9cce44c00fa22c0a53226 --- handlers/main.yml | 2 +- tasks/main.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/handlers/main.yml b/handlers/main.yml index 7afc7436..3db6c45d 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -18,7 +18,7 @@ name: "{{ item.program_name }}" enabled: yes state: "restarted" - daemon_reload: "{{ (ansible_service_mgr == 'systemd') | ternary('yes', omit) }}" + daemon_reload: yes with_items: "{{ filtered_swift_services }}" - name: Restart rsyslog diff --git a/tasks/main.yml b/tasks/main.yml index e867cc63..bdbe3589 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -72,7 +72,7 @@ tags: - swift-config -- include_tasks: "swift_init_{{ ansible_service_mgr }}.yml" +- include_tasks: swift_init_systemd.yml tags: - swift-config