Commit 597c2e25 by nadeemshahzad

remove service conditional check

parent c9f7ed75
......@@ -46,17 +46,8 @@
line: "mmsApiKey={{ MMSAPIKEY }}"
with_items: "{{ agents }}"
- name: start mms service trusty
- name: start mms service
service:
name: "{{ item.agent }}"
state: started
with_items: "{{ agents }}"
when: ansible_distribution_release == 'trusty'
- name: start mms service xenial
systemd:
name: "{{ item.agent }}"
state: started
with_items: "{{ agents }}"
when: ansible_distribution_release == 'xenial'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment