ca310032 by Gustavo Calcaterra Committed by Javier Franco

Fix list beat enabled modules

1 parent 1f5f4b71
......@@ -28,7 +28,7 @@
when: ansible_distribution_major_version >= "7"
- name: Verify if system module of {{ beat_name }} is enabled
shell: '{{ beat_name }} modules list | grep -i system'
shell: 'll /etc/{{ beat_name }}/modules.d/*.yml | grep system'
ignore_errors: yes
#when: modules == 'yes'
when: ( beat_name == "metricbeat") or
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!