Skip to content

Commit a2628b1

Browse files
authored
Merge pull request #4 from stackhpc/upgrade-ansible-inlcude-tasks
Replace 'include' with 'import_tasks' to handle upgrading ansible version in slurm appliance
2 parents 3bf6949 + 0f516ea commit a2628b1

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

tasks/main.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,25 +14,25 @@
1414
- grafana_notifications
1515
- grafana_dashboards
1616

17-
- include: preflight.yml
17+
- import_tasks: preflight.yml
1818
tags:
1919
- grafana_install
2020
- grafana_configure
2121
- grafana_datasources
2222
- grafana_notifications
2323
- grafana_dashboards
2424

25-
- include: install.yml
25+
- import_tasks: install.yml
2626
become: true
2727
tags:
2828
- grafana_install
2929

30-
- include: configure.yml
30+
- import_tasks: configure.yml
3131
become: true
3232
tags:
3333
- grafana_configure
3434

35-
- include: plugins.yml
35+
- include_tasks: plugins.yml
3636
when: grafana_plugins != []
3737
tags:
3838
- grafana_configure
@@ -76,20 +76,20 @@
7676
- grafana_dashboards
7777
- grafana_run
7878

79-
- include: api_keys.yml
79+
- include_tasks: api_keys.yml
8080
when: grafana_api_keys | length > 0
8181
tags:
8282
- grafana_configure
8383
- grafana_run
8484

85-
- include: datasources.yml
85+
- include_tasks: datasources.yml
8686
when: grafana_datasources != []
8787
tags:
8888
- grafana_configure
8989
- grafana_datasources
9090
- grafana_run
9191

92-
- include: notifications.yml
92+
- include_tasks: notifications.yml
9393
when: grafana_alert_notifications | length > 0
9494
tags:
9595
- grafana_configure
@@ -105,7 +105,7 @@
105105
- grafana_dashboards
106106
- grafana_run
107107

108-
- include: dashboards.yml
108+
- include_tasks: dashboards.yml
109109
when: grafana_dashboards | length > 0 or found_dashboards | length > 0
110110
tags:
111111
- grafana_configure

0 commit comments

Comments
 (0)