Skip to content

Commit

Permalink
test: combine include tasks files with loop
Browse files Browse the repository at this point in the history
  • Loading branch information
Nemental committed Aug 16, 2024
1 parent 9cf46a3 commit 1a9c283
Showing 1 changed file with 15 additions and 25 deletions.
40 changes: 15 additions & 25 deletions tests/integration/targets/grafana_datasource/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,16 @@
---
- block:
- ansible.builtin.include_tasks:
file: alertmanager.yml
- ansible.builtin.include_tasks:
file: errors.yml
- ansible.builtin.include_tasks:
file: elastic.yml
- ansible.builtin.include_tasks:
file: influx.yml
- ansible.builtin.include_tasks:
file: postgres.yml
- ansible.builtin.include_tasks:
file: cloudwatch.yml
- ansible.builtin.include_tasks:
file: thruk.yml
- ansible.builtin.include_tasks:
file: loki.yml
- ansible.builtin.include_tasks:
file: zabbix.yml
- ansible.builtin.include_tasks:
file: redis.yml
- ansible.builtin.include_tasks:
file: azure.yml
- ansible.builtin.include_tasks:
file: uid.yml
- name: Include datasource task files
ansible.builtin.include_tasks: "{{ item }}.yml"
loop:
- alertmanager
- errors
- elastic
- influx
- postgres
- cloudwatch
- thruk
- loki
- zabbix
- redis
- azure
- uid

0 comments on commit 1a9c283

Please sign in to comment.