Make dashboarding playbook work in a venv
This commit lets user run dashboarding playbook in a venv. Change-Id: I5babe299d59f3854057005acc5db78af5b4c2ca5
This commit is contained in:
parent
7d90a11856
commit
0b58ec3707
@ -13,12 +13,16 @@
|
||||
#
|
||||
|
||||
- name: Generate Generic Dashboards
|
||||
vars:
|
||||
ansible_python_interpreter: "/usr/bin/python"
|
||||
template:
|
||||
src: "{{role_path}}/templates/{{item.template_name}}_general_system_performance.json.j2"
|
||||
dest: "{{role_path}}/files/{{item.process_list_name}}_general_system_performance.json"
|
||||
with_items: "{{dashboards}}"
|
||||
|
||||
- name: Generate Cloud Specific CPU/Memory/Disk/Network Dashboards
|
||||
vars:
|
||||
ansible_python_interpreter: "/usr/bin/python"
|
||||
template:
|
||||
src: "{{item}}.json.j2"
|
||||
dest: "{{role_path}}/files/{{item}}.json"
|
||||
|
Loading…
x
Reference in New Issue
Block a user