From 06471b9977924123f7d282a0c469f2945a1090a6 Mon Sep 17 00:00:00 2001 From: Andy McCrae Date: Mon, 12 Dec 2016 11:01:03 +0000 Subject: [PATCH] Remove pattern reference in service restart As part of the Trusty removal, the "pattern:" option for service restarts can be removed. This prevents the following warning message from appearing in the Ansible runs: [WARNING]: Ignoring "pattern" as it is not used in "systemd" Change-Id: I38e04f48360ef558fa7d99e90fb0e73a9cb887be --- handlers/main.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/handlers/main.yml b/handlers/main.yml index fe77c180..110cf85c 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -22,7 +22,6 @@ service: name: "{{ item.value.program_name }}" state: "restarted" - pattern: "{{ item.value.program_name }}" with_dict: "{{ swift_services }}" when: - inventory_hostname in groups[item.value.group]