refactor(grafana): split defaults

This commit is contained in:
2024-11-05 20:07:07 +01:00
parent 2183832a3c
commit 492e134f4a
5 changed files with 50 additions and 47 deletions

View File

@ -2,7 +2,7 @@
- name: Ensure grafana_state is valid
ansible.builtin.assert:
that:
- "grafana_state in ['present', 'absent']"
- "grafana_state in grafana_states"
fail_msg: >-
Only 'present' and 'absent' are allowed as values for grafana_state