Fix adding the regex option in grayaml

Change-Id: I91e5419c96b2b9da78df6adbf92b2fc096148eb5
This commit is contained in:
Asma Syed Hameed 2021-11-23 11:44:52 +05:30
parent 9a00692cfa
commit 47e33f4c48

View File

@ -165,7 +165,7 @@
- name: Add regex option in grafyaml
lineinfile:
path: "{{ browbeat_path }}/.browbeat-venv/lib/python{{installed_python_version}}/site-packages/grafana_dashboards/schema/template/query.py"
insertafter: "self.validate_refresh"
insertafter: "hide"
line: " v.Optional('regex',default=''): v.All(str),"
when: collectd_prometheus