9fe95be5 by Gustavo Calcaterra Committed by Javier Franco

Only run setup after installation

1 parent 6b4f1ff7
...@@ -52,6 +52,7 @@ ...@@ -52,6 +52,7 @@
52 changed_when: "result.rc == 0" 52 changed_when: "result.rc == 0"
53 ignore_errors: True 53 ignore_errors: True
54 notify: "Restart beat service" 54 notify: "Restart beat service"
55 when: installation_result.changed
55 56
56 - name: Flush handlers 57 - name: Flush handlers
57 meta: flush_handlers 58 meta: flush_handlers
......
...@@ -15,3 +15,4 @@ ...@@ -15,3 +15,4 @@
15 #name: /root/{{ beat_name }}.rpm 15 #name: /root/{{ beat_name }}.rpm
16 name: /root/{{ rpm_name }} 16 name: /root/{{ rpm_name }}
17 state: present 17 state: present
18 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!