Skip to content

Commit 740d10c

Browse files
authored
fix: use ansible_facts instead of ansible_* variables (#365)
2 parents f195bda + db6fc5b commit 740d10c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roles/grafana/tasks/install.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
- name: "Prepare zypper"
1515
when:
16-
- "ansible_pkg_mgr == 'zypper'"
16+
- "ansible_facts['pkg_mgr'] == 'zypper'"
1717
- "(grafana_manage_repo)"
1818
environment: "{{ grafana_environment }}"
1919
block:

0 commit comments

Comments
 (0)