Skip to content

Commit

Permalink
Merge pull request #918 from Azure/fix/grafana
Browse files Browse the repository at this point in the history
use python3 to install grafana
  • Loading branch information
xpillons authored Jun 13, 2022
2 parents c8160cb + 3750a14 commit 21e2574
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions playbooks/grafana.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
gather_facts: no
vars_files:
- '{{global_config_file}}'
vars:
ansible_python_interpreter: /usr/bin/python3

tasks:
- name: Wait 300 seconds for the nodes to be ready
Expand Down
3 changes: 2 additions & 1 deletion playbooks/roles/influxdb/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,15 @@
yum:
name:
- https://dl.influxdata.com/influxdb/releases/influxdb-1.8.5.x86_64.rpm
- python-pip
- python3-pip
state: present

- name: Install required pip packages
pip:
name:
- certifi==2021.10.8
- influxdb
executable: pip3

- name: Start and enable the influxdb service
service:
Expand Down

0 comments on commit 21e2574

Please sign in to comment.