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:
parent
a0d6cdea8a
commit
06471b9977
@ -22,7 +22,6 @@
|
|||||||
service:
|
service:
|
||||||
name: "{{ item.value.program_name }}"
|
name: "{{ item.value.program_name }}"
|
||||||
state: "restarted"
|
state: "restarted"
|
||||||
pattern: "{{ item.value.program_name }}"
|
|
||||||
with_dict: "{{ swift_services }}"
|
with_dict: "{{ swift_services }}"
|
||||||
when:
|
when:
|
||||||
- inventory_hostname in groups[item.value.group]
|
- inventory_hostname in groups[item.value.group]
|
||||||
|
Loading…
Reference in New Issue
Block a user