9fe95be5 by Gustavo Calcaterra Committed by Javier Franco

Only run setup after installation

1 parent 6b4f1ff7
......@@ -52,6 +52,7 @@
changed_when: "result.rc == 0"
ignore_errors: True
notify: "Restart beat service"
when: installation_result.changed
- name: Flush handlers
meta: flush_handlers
......
......@@ -15,3 +15,4 @@
#name: /root/{{ beat_name }}.rpm
name: /root/{{ rpm_name }}
state: present
register: installation_result
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!