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
This commit is contained in:
Andy McCrae 2016-12-12 11:01:03 +00:00
parent a0d6cdea8a
commit 06471b9977

View File

@ -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]