diff options
Diffstat (limited to 'tasks')
| -rw-r--r-- | tasks/process_exporter.yml | 4 | ||||
| -rw-r--r-- | tasks/strategy_yaml.yml | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tasks/process_exporter.yml b/tasks/process_exporter.yml index 0a19480..25d1749 100644 --- a/tasks/process_exporter.yml +++ b/tasks/process_exporter.yml @@ -17,8 +17,8 @@ - name: Validate exporter state ansible.builtin.assert: - that: _target_state in ["present", "absent"] - fail_msg: "Exporter state must be 'present' or 'absent', got '{{ _target_state }}'" + that: _target_state in ['present', 'absent'] + fail_msg: Exporter state must be 'present' or 'absent', got '{{ _target_state }}' - name: Execute strategy ansible.builtin.include_tasks: diff --git a/tasks/strategy_yaml.yml b/tasks/strategy_yaml.yml index 45b18c3..f35af6b 100644 --- a/tasks/strategy_yaml.yml +++ b/tasks/strategy_yaml.yml @@ -23,8 +23,8 @@ - name: Validate YAML exporter states ansible.builtin.assert: - that: _yaml_update.state in ["present", "absent"] - fail_msg: "Exporter state must be 'present' or 'absent', got '{{ _yaml_update.state }}'" + that: _yaml_update.state in ['present', 'absent'] + fail_msg: Exporter state must be 'present' or 'absent', got '{{ _yaml_update.state }}' loop: "{{ _prometheus_target_yaml_updates }}" loop_control: loop_var: _yaml_update |