Merge "Make Gather Playbook work in venv"
This commit is contained in:
commit
b93c7f0355
@ -212,8 +212,7 @@ Run the gather playbook to gather metadata about how the OpenStack cloud is
|
|||||||
currently configured. This playbook writes hardware(No. of CPUs etc),
|
currently configured. This playbook writes hardware(No. of CPUs etc),
|
||||||
software(OpenStack Configuration), environment(No. of controllers etc) metadata
|
software(OpenStack Configuration), environment(No. of controllers etc) metadata
|
||||||
files into the metadata directory which are transported to ElasticSearch along
|
files into the metadata directory which are transported to ElasticSearch along
|
||||||
with test results to provide context for the result data. Make sure you do not
|
with test results to provide context for the result data.
|
||||||
run this playbook from a python virtual environment or it would fail.
|
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
|
@ -28,6 +28,6 @@
|
|||||||
- hosts: undercloud
|
- hosts: undercloud
|
||||||
tasks:
|
tasks:
|
||||||
- name: Dump all vars
|
- name: Dump all vars
|
||||||
local_action: template src=dump_facts.j2 dest={{ browbeat_path }}/metadata/machine_facts.json
|
template: src=dump_facts.j2 dest={{ browbeat_path }}/metadata/machine_facts.json
|
||||||
- name: Generate metadata jsons
|
- name: Generate metadata jsons
|
||||||
shell : python {{ browbeat_path }}/lib/Metadata.py {{ browbeat_path }}/metadata
|
shell : python {{ browbeat_path }}/lib/Metadata.py {{ browbeat_path }}/metadata
|
||||||
|
Loading…
Reference in New Issue
Block a user