Skip to content

Commit

Permalink
Merge pull request #377 from stelb/grafana_api_key
Browse files Browse the repository at this point in the history
fix path for api-key with password store
  • Loading branch information
progmaticltd authored Apr 28, 2024
2 parents e6529d5 + 4902e84 commit e95197b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/grafana/tasks/install/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
no_log: '{{ hide_secrets }}'
ansible.builtin.copy:
content: '{{ api_key_create_call.json.key }}'
dest: '{{ backup_directory }}/{{ creds.prefix }}/grafana/admin'
dest: '{{ backup_directory }}/{{ creds.prefix }}/grafana/api-key'
mode: '0600'
- name: Store the api key
ansible.builtin.set_fact:
Expand Down

0 comments on commit e95197b

Please sign in to comment.