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

Commit 9fd9aee

Browse files
authored
by default only copy dashboards and not remove them (#145)
[patch]
1 parent adc3f6d commit 9fd9aee

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ All variables which can be overridden are stored in [defaults/main.yml](defaults
2424
| Name | Default Value | Description |
2525
| -------------- | ------------- | -----------------------------------|
2626
| `grafana_use_provisioning` | true | Use Grafana provisioning capalibity when possible (**grafana_version=latest will assume >= 5.0**). |
27-
| `grafana_provisioning_synced` | true | Ensure no previously provisioned dashboards are kept if not referenced anymore. |
27+
| `grafana_provisioning_synced` | false | Ensure no previously provisioned dashboards are kept if not referenced anymore. |
2828
| `grafana_system_user` | grafana | Grafana server system user |
2929
| `grafana_system_group` | grafana | Grafana server system group |
3030
| `grafana_version` | latest | Grafana package version |

defaults/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ grafana_yum_repo_template: etc/yum.repos.d/grafana.repo.j2
66
grafana_use_provisioning: true
77

88
# Should the provisioning be kept synced. If true, previous provisioned objects will be removed if not referenced anymore.
9-
grafana_provisioning_synced: true
9+
grafana_provisioning_synced: false
1010

1111
grafana_instance: "{{ ansible_fqdn | default(ansible_host) | default(inventory_hostname) }}"
1212

0 commit comments

Comments
 (0)