Skip to content

Commit

Permalink
fix(syntax): replace include by include_tasks
Browse files Browse the repository at this point in the history
It was removed from ansible-core in a release after 2023-05-16
  • Loading branch information
rrey committed Nov 4, 2023
1 parent bdeebaf commit 32f3e3d
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 35 deletions.
12 changes: 6 additions & 6 deletions tests/integration/targets/grafana_dashboard/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
- block:
- include: dashboard-from-url.yml
- include: delete-dashboard.yml
- include: dashboard-from-id.yml
- include: dashboard-from-file.yml
- include: dashboard-export.yml
- include: dashboard-folder-destination.yml
- include_tasks: dashboard-from-url.yml
- include_tasks: delete-dashboard.yml
- include_tasks: dashboard-from-id.yml
- include_tasks: dashboard-from-file.yml
- include_tasks: dashboard-export.yml
- include_tasks: dashboard-folder-destination.yml
22 changes: 11 additions & 11 deletions tests/integration/targets/grafana_datasource/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
---

- block:
- include: errors.yml
- include: elastic.yml
- include: influx.yml
- include: postgres.yml
- include: cloudwatch.yml
- include: thruk.yml
- include: loki.yml
- include: zabbix.yml
- include: redis.yml
- include: azure.yml
- include: uid.yml
- include_tasks: errors.yml
- include_tasks: elastic.yml
- include_tasks: influx.yml
- include_tasks: postgres.yml
- include_tasks: cloudwatch.yml
- include_tasks: thruk.yml
- include_tasks: loki.yml
- include_tasks: zabbix.yml
- include_tasks: redis.yml
- include_tasks: azure.yml
- include_tasks: uid.yml

...
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
---
- block:
- include: dingding.yml
- include: discord.yml
- include: email.yml
- include: googlechat.yml
- include: hipchat.yml
- include: kafka.yml
# - include: line.yml
- include: teams.yml
- include: opsgenie.yml
- include: pagerduty.yml
- include: prometheus.yml
- include: pushover.yml
- include: sensu.yml
- include: slack-and-beyond.yml
- include: telegram.yml
# - include: threema.yml
- include: victorops.yml
- include: webhook.yml
- include_tasks: dingding.yml
- include_tasks: discord.yml
- include_tasks: email.yml
- include_tasks: googlechat.yml
- include_tasks: hipchat.yml
- include_tasks: kafka.yml
# - include_tasks: line.yml
- include_tasks: teams.yml
- include_tasks: opsgenie.yml
- include_tasks: pagerduty.yml
- include_tasks: prometheus.yml
- include_tasks: pushover.yml
- include_tasks: sensu.yml
- include_tasks: slack-and-beyond.yml
- include_tasks: telegram.yml
# - include_tasks: threema.yml
- include_tasks: victorops.yml
- include_tasks: webhook.yml

0 comments on commit 32f3e3d

Please sign in to comment.