Skip to content
This repository was archived by the owner on May 31, 2023. It is now read-only.

Commit b414294

Browse files
authored
Merge pull request #64 from cloudalchemy/add_tags
add tags
2 parents 114ca39 + 33ccab7 commit b414294

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

tasks/main.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,30 +11,53 @@
1111
- always
1212

1313
- include: preflight.yml
14+
tags:
15+
- always
1416

1517
- include: install.yml
18+
tags:
19+
- install
1620

1721
- include: configure.yml
22+
tags:
23+
- configure
1824

1925
- include: plugins.yml
2026
when: grafana_plugins != []
27+
tags:
28+
- configure
2129

2230
- name: Restart grafana before configuring datasources and dashboards
2331
meta: flush_handlers
32+
tags:
33+
- always
2434

2535
- name: Wait for grafana to start
2636
wait_for:
2737
host: "{{ grafana_address }}"
2838
port: "{{ grafana_port }}"
39+
tags:
40+
- always
2941

3042
- include: api_keys.yml
3143
when: grafana_api_keys | length > 0
44+
tags:
45+
- configure
3246

3347
- include: datasources.yml
3448
when: grafana_datasources != []
49+
tags:
50+
- configure
51+
- datasources
3552

3653
- include: notifications.yml
3754
when: grafana_alert_notifications | length > 0
55+
tags:
56+
- configure
57+
- notifications
3858

3959
- include: dashboards.yml
4060
when: grafana_dashboards | length > 0
61+
tags:
62+
- configure
63+
- dashboards

0 commit comments

Comments
 (0)